PrisonRanksX Config Prestiges - Historical
Applied By TheGaming999: Aug 9, 2019 at 2:03 AM
(History)
PrisonRanksX Config Prestiges
Here you can configure ingame Prestiges
________________________________________________________
Config default fomat:
example:
___________________________________________________________________________
==== MainSection ====
The Main Section Here is the prestigename before the arrow
_________________________________________________________________________
==== SubSections ====
here i will take the PRESTIGE P-1 as an example.
[Required]
#the prestige prefix ingame
~~~
[Required]
#the amount of money you need to prestige up to that prestige (P-1)
~~~
[Required]
#the prestige that you will be promoted to after you prestige up
~~~
[Optional]
#a collection of commands that will be executed after you prestige up to that prestige (P-1)
~~~
[Optional]
#send a broadcast to everyone in the server after you prestigeup..
~~~
[Optional]
#actionbar message that will be sent to you after you prestige, it will be animated if you put more than one line, to change the animation speed use the subsection interval: 15 means 15 ticks and 20 ticks = 1 second so that means 15 ticks = 0.75 seconds
~~~
[Optional]
#random commands with chances that will be executed after you prestige up according to your luck
~~~
[Optional]
#a firework that will spawn in your location after you prestige, to enable this set send-firework to true, here is a list of (firework colors), the colors used in color section can also be used in fade section, Effects:
#STAR , CREEPER, BURST, BALL, BALL_LARGE
~~~
[Optional]
#how much the cost by %50 will increase for rankups after you prestige
[Optional]
#You can use these placeholders: %prestige% %nextprestige%
________________________________________________________
Config default fomat:
Code (YAML):
Prestiges:
<prestige>:
display: "<prestigedisplayastext>"
cost: <prestigecostasnumber>
nextrank: "<prestigerankastext>"
<prestige>:
display: "<prestigedisplayastext>"
cost: <prestigecostasnumber>
nextrank: "<prestigerankastext>"
Code (YAML):
Prestiges:
P-1:
display: "&3[P-1]"
cost: 500000
nextrank: "P-2"
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: <--
.......
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"
- "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"
- "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%"
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
'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
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):
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"
- "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%
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM