PrisonRanksX Config Prestiges

Aug 14, 2019
PrisonRanksX Config Prestiges
  • Here you can configure ingame Prestiges
    ________________________________________________________

    Config default fomat:

    Code (YAML):
    Prestiges:
      <prestige>
    :
        display
    : "<prestigedisplayastext>"
        cost
    : <prestigecostasnumber>
        nextrank
    : "<prestigerankastext>"
    example:
    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]"
    #the prestige prefix ingame
    ~~~
    [Required]
    Code (YAML):
    cost: 500000
    #the amount of money you need to prestige up to that prestige (P-1)
    ~~~
    [Required]
    Code (YAML):
    nextprestige: "P-2"
    #the prestige that you will be promoted to after you prestige up
    ~~~
    [Optional]
    Code (YAML):
    executecmds:
    - "pex user %player% add essentials.kits.prestige"
    - "another command"
    #a collection of commands that will be executed after you prestige up to that prestige (P-1)
    ~~~
    [Optional]
    Code (YAML):
    broadcast:
    - "a line of text that will be sent to everyone"
    - "another line of text"
    - "third line"
    #send a broadcast to everyone in the server after you prestigeup..
    ~~~
    [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%"
    #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]
    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
    #random commands with chances that will be executed after you prestige up according to your luck
    ~~~
    [Optional]
    Code (YAML):
    send-firework: true
      firework-builder
    :
        flicker
    : true
        trail
    : true
        effect
    :
       - BALL
        - BURST
        color
    :
       - BLUE
        - LIGHTBLUE
        fade
    :
       - RED
        power
    : 1
    #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]
    Code (YAML):
    actions:
    - "[TITLEMESSAGE] &9&oYou have successfully prestiged;%player_name%;20;60;20"
    - "[CENTERBROADCAST] &a%player_name% &7has prestiged."
    #if you want to use ActionUtil actions.

    ~~~
    [Optional]
    Code (YAML):
    rankup_cost_increase_percentage: 50
    #how much the cost by %50 will increase for rankups after you prestige
    [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...