Raid

Setting up raid option

The raid option is mainly for PvP servers and will work best in that type of server.

To setup raid option up "XpBank.yml" look for the "enableRaid" option in the config. The default setting is "false". Once you have turned it to true go in game and do "/xp reloadxpconfig". After doing so head back to the config file now two more options have appeared.

  • maxRaids - This is the amount of banks a player is allowed to raid. Leaving it at 0 allows them to raid without a limit)
  • raidResetTime - This is the time a Player has to wait after doing the max amount of raids(This activates when they do the raid that reachs the maxRaids number) Once this time is up the player can raid once again untill hitting maxRaids again.

So now that you have set the "maxRaids" you wish for a player to be able to do. Set your "raidResetTime" (Keep in mind this is in seconds so 60 = 1 Minute) once a player has reached the "maxRaids" they will have to wait a cooldown period set by "raidResetTime" before they can raid again. Once you have this all set once again do "/xp reloadxpconfig" then you are all ready to raid away. :)

Once players start raiding a new "XpBankRaid.yml" will appear to handle all raid data.

Note: Any player with "xp.breakany" permission will not be able to raid. This may change in later versions if people find this annoying.


Comments

Posts Quoted:
Reply
Clear All Quotes