PrisonRanksX Config Prestiges
-
Here you can configure ingame Prestiges
________________________________________________________
Config default fomat:
Code (YAML):Prestiges:
<prestige>:
display: "<prestigedisplayastext>"
cost: <prestigecostasnumber>
nextrank: "<prestigerankastext>"
Code (YAML):Prestiges:
P-1:
display: "&3[P-1]"
cost: 500000
nextrank: "P-2"
==== MainSection ====
The Main Section Here is the prestigename before the arrow
Code (YAML):Prestiges:
P-1: <--
......
P-2: <--
.......
P-3: <--
.......
==== SubSections ====
here i will take the PRESTIGE P-1 as an example.
[Required]
Code (YAML):display: "&3[P-1]"
~~~
[Required]
Code (YAML):cost: 500000
~~~
[Required]
Code (YAML):nextprestige: "P-2"
~~~
[Optional]
Code (YAML):executecmds:
- "pex user %player% add essentials.kits.prestige"
- "another command"
~~~
[Optional]
Code (YAML):broadcast:
- "a line of text that will be sent to everyone"
- "another line of text"
- "third line"
~~~
[Optional]
Code (YAML):actionbar:
interval: 15
text:
- "&6You have prestiged to %prisonranksx_nextprestige_displayname%"
- "&3You have prestiged to %prisonranksx_nextprestige_displayname%"
- "&eYou have prestiged to %prisonranksx_nextprestige_displayname%"
~~~
[Optional]
Code (YAML):randomcmds:
'1':
chance: 5
commands:
- forcerankup %player%
'2':
chance: 20
commands:
- crate givekey %player% mythicalkey 1
'3':
chance: 50
commands:
- eco give %player% 100000
~~~
[Optional]
Code (YAML):send-firework: true
firework-builder:
flicker: true
trail: true
effect:
- BALL
- BURST
color:
- BLUE
- LIGHTBLUE
fade:
- RED
power: 1
#STAR , CREEPER, BURST, BALL, BALL_LARGE
~~~
[Optional]
Code (YAML):actions:
- "[TITLEMESSAGE] &9&oYou have successfully prestiged;%player_name%;20;60;20"
- "[CENTERBROADCAST] &a%player_name% &7has prestiged."
~~~
[Optional]
Code (YAML):rankup_cost_increase_percentage: 50
[Optional]
Code (YAML):addpermission:
- "permission.permission" #add a permission to player
- "[world_the_nether] permission.permission" #a permission that will be added to player in the world: world_the_nether
delpermission:
- "same.as.above"
- "multi.permission"
- "third.permission"
#You can use these placeholders: %prestige% %nextprestige%
- Loading...
- Loading...
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM