PrisonRanksX Config Ranks
-
Here you can configure ingame ranks
________________________________________________________
Config default fomat:
Code (YAML):Ranks:
<rank>:
display: "<rankdisplayastext>"
cost: <rankcostasnumber>
nextrank: "<nextrankastext>"
Code (YAML):Ranks:
B:
display: "&2[B]"
cost: 25000
nextrank: "C"
___________________________________________________________________________
==== MainSection ====
The Main Section Here is the rankname before the arrow
Code (YAML):Ranks:
A: <--
......
B: <--
.......
C: <--
.......
==== SubSections ====
here i will take the rank B as an example.
[Required]
Code (YAML):display: "&a[B]"
~~~
[Required]
Code (YAML):cost: 10000
~~~
[Required]
Code (YAML):nextrank: "C"
~~~
[Optional]
Code (YAML):executecmds:
- "pex user %player% add essentials.warps.B"
- "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 ranked up to %rankupdisplay%"
- "&3You have ranked up to %rankupdisplay%"
- "&eYou have ranked up to %rankupdisplay%"
~~~
[Optional]
Code (YAML):randomcmds:
'1':
chance: 5
commands:
- forcerankup %player%
'2':
chance: 20
commands:
- crate givekey %player% specialkey 1
'3':
chance: 50
commands:
- eco give %player% 1000
~~~
[Optional]
Code (YAML):send-firework: true
firework-builder:
flicker: true
trail: true
effect:
- STAR
color:
- BLUE
- WHITE
fade:
- AQUA
power: 1
#STAR , CREEPER, BURST, BALL, BALL_LARGE
~~~
[Optional]
Code (YAML):actions:
- "[TITLEMESSAGE] &6Rankup Success;%player_name%;20;60;20"
- "[CENTERBROADCAST] &bCongratulations %player_name%."
~~~
[Optional]
Code (YAML):allow-prestige: true
[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"
- Loading...
- Loading...
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM