RigoxRFTB

Jun 29, 2021
RigoxRFTB
  • WIKI CONTENT:


    Plugin: Important Files(top)


    settings.yml
    Code (YAML):

    #   _____                     _ _               _____  ______ _______ ____
    #  / ____|                   | (_)             |  __ \|  ____|__   __|  _ \
    # | |  __ _   _  __ _ _ __ __| |_  __ _ _ __   | |__) | |__     | |  | |_) |
    # | | |_ | | | |/ _` | '__/ _` | |/ _` | '_ \  |  _  /|  __|    | |  |  _ <
    # | |__| | |_| | (_| | | | (_| | | (_| | | | | | | \ \| |       | |  | |_) |
    #  \_____|\__,_|\__,_|_|  \__,_|_|\__,_|_| |_| |_|  \_\_|       |_|  |____/
    #
    #
    # Created by: MrUniverse44
    # Sponsor: WHost.es
    # SpigotMC Link: https://www.spigotmc.org/resources/88817/
    #
    settings
    :
     # Enable Check update when the plugin load
      update-check
    : true
      # Plugin language file, if you want add your custom lang file you need put the name ("messages_<code>.yml") and in the language you put the code, example:
      # messages_en.yml | code: en | language: en
      # messages_es.yml | code: es | language: es
      language
    : en
      # Give default kits on first join
      default-kits
    :
      # Toggle
       toggle
    : true
       # Runner Kit (For this, you need use only KitID's, by default: 0)
       runner
    : 0
       # Beast Kit (For this, you need use only KitID's, by default: 0)
       beast
    : 0
       # Killer Kit (For this, you need use only KitID's, by default: 0)
       killer
    : 0
      # Leave Commands
      leaveCMDs
    :
      - "/leave"
       - "/quit"
       - "/salir"
      # Plugin Date Format
      dateFormat
    : "dd/MM/yyyy"
      # Toggle perWorldTab option
      perWorldTab
    : false
      # Leave Cancel Time (In Seconds)
      leaveCancelTime
    : 3
      # Lobby Options
      lobby
    :
      # Lobby Location ("notSet" by default)
       location
    : notSet
       # Plugin Custom Chat
       chat
    : true
       # Show all players including players in games (only for lobby-players)
       show-all-players
    : false
       # Lobby BossBar
       bossBar
    : true
       # Toggle Lobby-ActionBar
       actionBar
    : true
       # Toggle Damage in Lobby
       cancelDamage
    : true
       # Toggle Inventory Click
       blockInventoryClick
    : true
       # Toggle Hunger in Lobby
       noHunger
    : true
       # Toggle Weather in Lobby
       disableWeather
    : true
       # Cancel BlockPlaceEvent in LobbyWorld
       cancelBlockPlace
    : true
       # Cancel BlockBreakEvent in LobbyWorld
       cancelBlockBreak
    : true
       # Teleport to the lobby when the player is in the void of the lobby world.
       voidSpawnTP
    : true
       # Lobby Scoreboard only in the lobby World
       scoreboard-only-in-lobby-world
    : false
       # Items only in lobby world (by default: false)
       items-only-in-lobby-world
    : false
       # Join Options
       join
    :
        # Teleport to the lobby when the player join
         teleport
    : true
         # Auto Heal
         autoHeal
    : true
         # Clear Inventory
         clearInventory
    : true
         # Gamemode when you join to the lobby and when you join to the server
         gamemode
    : ADVENTURE
         # Hide default minecraft join message
         message
    : false
       quit
    :
        # Hide default minecraft quit message
         message
    : false
         # Update statics (RECOMMENDED: false) All statics are updated when the server turns off for a better performance)
         statics
    : false
       # Hub servers
       Hub-servers
    :
        - "Hub1"
         - "Hub2"
      # Point System
      pointSystem
    :
      # Runner Points
       runners
    :
        # Runner death
         death
    : -6
         # Runner Win
         win
    : 4
         # Runner kill
         kill
    : 2
       # Beast Points
       beasts
    :
        # Beast death
         death
    : -4
         # Beast Win
         win
    : 4
         # Beast Kill
         kill
    : 1
      # Custom Tags
      tags
    :
      # Runners
       runners
    :
         toggle
    : true
         tag
    : "&b&lRUNNER"
       # Beasts
       beasts
    :
         toggle
    : true
         tag
    : "&e&lBEAST"
       # Killers
       killer
    :
         toggle
    : true
         tag
    : "&a&lKILLER"
      # Signs
      signs
    :
       line1
    : "&l%arena%"
       line2
    : "%gameStatus%"
       line3
    : "%on%/%max%"
       line4
    : "&nClick to join"
      # Status
      status
    :
      # Behind Blocks
       blocks
    :
        # Toggle this system
         toggle
    : false
         # Preparing Block
         preparing
    : "STAINED_GLASS:11"
         # Waiting Block
         waiting
    : "STAINED_GLASS:5"
         # Starting Block
         starting
    : "STAINED_GLASS:4"
         # Playing Block
         playing
    : "STAINED_GLASS:14"
         # InGame Block
         InGame
    : "STAINED_GLASS:14"
         # Ending Block
         ending
    : "STAINED_GLASS:0"
       # Color Status
       color
    :
         preparing
    : "&5Config"
         waiting
    : "&aWaiting"
         starting
    : "&eStarting"
         playing
    : "&cPlaying"
         InGame
    : "&4InGame"
         ending
    : "&9Restarting"
       # Names
       names
    :
         preparing
    : Preparing
         waiting
    : Waiting
         starting
    : Starting
         playing
    : Playing
         InGame
    : InGame
         ending
    : Restarting
      # Game Options
      game
    :
      # Show Buttons message (PlayAgain, AutoPlay, Leave) on game-end
       show-game-buttons-on-end
    : false
       # Show Beast distance in a actionbar or BossBar
       beastDistance
    :
        # Toggle
         toggle
    : true
         #ShowBeast distance formats:
         # - ACTIONBAR (ACTION_BAR,ACTION BAR)
         # - BOSSBAR (BOSS BAR,BOSS_BAR)
         Format
    : BOSSBAR
       # Command System
       commands
    :
        # Toggle this system
         toggle
    : true
         # type of system
         type
    : WHITELIST
         # list of all commands
         list
    :
          - "leave"
           - "salir"
           - "rftb"
           - "grftb"
           - "lobby"
           - "hub"
           - "exit"
       # Game actions
       game-actions
    :
        # These actions will be executed at the end of the game
         win-actions
    :
          # Toggle this option
           toggle
    : false
           # Actions
           values
    :
          - "<console>eco give <player_name> 100"
         # These actions will be executed at the end of the game
         end-actions
    :
          # Toggle this option
           toggle
    : false
           # Actions
           values
    :
            - "<actionbar>&aWell played!"
         # These actions will be executed at the end of the game
         restart-actions
    :
          # Toggle this option
           toggle
    : false
           # Actions
           values
    :
            - "<actionbar>&bGood Luck for your next game!"
         # These actions will be executed at the start of the game
         start-actions
    :
          # Toggle this option
           toggle
    : false
           # Actions
           values
    :
            - "<msg>&a&lGood Luck!"
         # These actions will be executed at the beast-selection of the game
         selected-beast-actions
    :
          # Toggle this option
           toggle
    : false
           # Actions
           values
    :
            - "<actionbar>&c<arena_beast> was selected!"
       # Game Roles
       roles
    :
         beast
    : Beast
         beasts
    : Beasts
         runner
    : Runner
         runners
    : Runners
         killer
    : Killer
         killers
    : Killers
       # Game Modes
       modes
    :
         DOUBLE_BEAST
    : Double Beast
         CLASSIC
    : Classic
         INFECTED
    : Infected
         KILLER
    : Killer Mode
         ISLAND_OF_THE_BEAST
    : Island of the beast
         ISLAND_OF_THE_BEAST_DOUBLE
    : Island of the beast Double
         ISLAND_OF_THE_BEAST_KILLER
    : Island of the beast Killer
         HISTORY_MODE
    : History Mode
      # Time Option
      timer
    :
       weeks
    : weeks
       week
    : week
       days
    : days
       day
    : day
       minutes
    : minutes
       minute
    : minute
       seconds
    : seconds
       second
    : second

     
    scoreboards.yml
    Code (YAML):

    #   _____                     _ _               _____  ______ _______ ____
    #  / ____|                   | (_)             |  __ \|  ____|__   __|  _ \
    # | |  __ _   _  __ _ _ __ __| |_  __ _ _ __   | |__) | |__     | |  | |_) |
    # | | |_ | | | |/ _` | '__/ _` | |/ _` | '_ \  |  _  /|  __|    | |  |  _ <
    # | |__| | |_| | (_| | | | (_| | | (_| | | | | | | \ \| |       | |  | |_) |
    #  \_____|\__,_|\__,_|_|  \__,_|_|\__,_|_| |_| |_|  \_\_|       |_|  |____/
    #
    # Variables (This variable only work in Waiting Scoreboard):
    # - <isWaiting> = This line only appear if the game is Waiting.
    # - <isSelecting> = This line only appear when the game is selecting a beast.
    # - <isStarting> = This line only appear when the game is starting.
    # - <BeastAppear> = This line only appear when the beast is waiting to appear in the map.
    # Variables In Game:
    # - <arena_online> = online players
    # - <arena_max> = max players of the map
    # - <arena_need> = need players to start
    # - <arena_time_text> = time-left-timer for text example: "seconds" or "second"
    # - <arena_beast> = beast of the game
    # - <arena_runners> = Runners size
    # - <arena_mode> = Arena Mode
    # - <arena_timeLeft> | <arena_time_number> = time-left (you can use this variable with <arena_time_text> to do this: "60 seconds" or "1 second"
    # - <arena_status>  = Arena Status
    #
    scoreboards
    :
      animatedTitle
    :
       toggle
    : true
       repeatTime
    : 20
       titles
    :
        - '&b&lGRFTB'
         - '&f&lGRFTB'
         - '&b&lGRFTB'
         - '&f&lGRFTB'
         - '&b&lGRFTB'
         - '&f&lGRFTB'
         - '&f&lG&b&lRFTB'
         - '&f&lGR&b&lFTB'
         - '&b&lG&f&lRF&b&lTB'
         - '&b&lGR&f&lFT&b&lB'
         - '&b&lGRF&f&lTB'
         - '&b&lGRFT&f&lB'
         - '&b&lGRFTB'
      lobby
    :
       toggle
    : true
       title
    : '&b&lGuardianRFTB'
       lines
    :
        - ' '
         - '&fUser
    : &b<player_name>'
         - '&fCoins
    : &b<player_coins>'
         - '&fWins
    : &b<player_wins>'
         - ' '
         - '&fKits
    : &b<player_kits>/3'
         - ' '
         - '&fOnline
    : &b<server_online>'
         - ' '
         - '&eplay.servername.net'
      waiting
    :
       title
    : '&b&lGuardianRFTB'
       lines
    :
        - '&7<arena_mode> | <timeFormat>'
         - ' '
         - '&fMap
    : &a<arena_name>'
         - '&fPlayers
    : &a<arena_online>/<arena_max>'
         - ' '
         - '&f<isWaiting>Waiting for'
         - '&a<isWaiting><arena_need> &fplayers to start'
         - '&f<isSelecting>Selecting beast in &a<arena_time_number>'
         - '&f<isStarting>Starting in &a<arena_time_number> &f<arena_time_text>.'
         - '&f<BeastAppear>You will spawn in &a<arena_time_number>&f!'
         - ' '
         - '&eplay.servername.net'
      playing
    :
       title
    : '&b&lGuardianRFTB'
       lines
    :
        - '&7<timeFormat>'
         - ' '
         - '&fRunners Left
    : &3<arena_runners>'
         - '&fTime Left
    : &b<arena_timeLeft>'
         - ' '
         - '&fMap
    : &a<arena_name>'
         - '&fRole
    : &a<player_role>'
         - ' '
         - '&fBeast
    : &a<arena_beast>'
         - '&fMode
    : &c<arena_mode>'
         - ' '
         - '&eplay.servername.net'
      beastWin
    :
       forBeast
    :
         title
    : '&b&lGuardianRFTB'
         lines
    :
          - '&7<timeFormat>'
           - ' '
           - '&fYou are the best beast'
           - '&aWell played&f!'
           - ' '
           - '&eplay.servername.net'
       forRunners
    :
         title
    : '&b&lGuardianRFTB'
         lines
    :
          - '&7<timeFormat>'
           - ' '
           - '&fWell.. you tried'
           - ' '
           - '&eplay.servername.net'
      runnersWin
    :
       forBeast
    :
         title
    : '&b&lGuardianRFTB'
         lines
    :
          - '&7<timeFormat>'
           - ' '
           - '&fBad played!'
           - '&cGood luck for next game&f!'
           - ' '
           - '&eplay.servername.net'
       forRunners
    :
         title
    : '&b&lGuardianRFTB'
         lines
    :
          - '&7<timeFormat>'
           - ' '
           - '&fRunners Win!'
           - '&aWell played!'
           - ' '
           - '&eplay.servername.net'

     
    messages_en.yml
    Code (YAML):

    #   _____                     _ _               _____  ______ _______ ____
    #  / ____|                   | (_)             |  __ \|  ____|__   __|  _ \
    # | |  __ _   _  __ _ _ __ __| |_  __ _ _ __   | |__) | |__     | |  | |_) |
    # | | |_ | | | |/ _` | '__/ _` | |/ _` | '_ \  |  _  /|  __|    | |  |  _ <
    # | |__| | |_| | (_| | | | (_| | | (_| | | | | | | \ \| |       | |  | |_) |
    #  \_____|\__,_|\__,_|_|  \__,_|_|\__,_|_| |_| |_|  \_\_|       |_|  |____/
    #
    # Created by: MrUniverse44
    # Sponsor: WHost.es
    # SpigotMC Link: https://www.spigotmc.org/resources/88817/
    #
    messages
    :
      prefix
    : '&3&lG&b&lRFTB &8| '
      game
    :
       join-game
    : '&b%player% &7has joined the game! &3(&b%game_online%&3/&b%game_max%&3)&7!'
       leave-game
    : '&b%player% &7has left the game! &3(&b%game_online%&3/&b%game_max%&3)&7!'
       leave-game-in-game
    : '&b%player% &7has left the game!'
       chosenBeast
    : '&eThe player &b%player% &enow is a beast!'
       game-count
    :
         selecting
    : '&eThe beast will be chosen in &c%current_time% &e%current_time_letter%'
         start
    : '&eThe game starts in &c%current_time% &e%current_time_letter%!'
         beast
    : '&eThe beast spawns in &c%current_time% &e%current_time_letter%!'
         enough-players
    : '&cThis game can''t start, not enough players'
       gameInfo
    :
         startGame
    :
          - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
           - '<center>&e&lMode
    : %gameType% - %map_name%'
           - ' '
           - '<isBeast>&e&lKill all runners!'
           - '<isRunner>&e&lSurvive and Kill the beast!'
           - ' '
           - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
         endInfo
    :
          - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
           - '<center>&e&l%gameType% - %map_name%'
           - ' '
           - '<center>&a%winner_team% &e&lWINNER &c%looser_team%'
           - ' '
           - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
         playAgain
    :
          - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
           - ' '
           - ' &a<playAgainButton>'
           - ' '
           - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
         rewardSummary
    :
          - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
           - '<center>&e&l%gameType% - %map_name%'
           - ' '
           - ' &7You earned:'
           - '  &f[px] &3%game% Game Experience'
           - '  &f[px] &a%coins% Coins'
           - ' '
           - '&a[bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx][bx]'
       playAgainButton
    :
         value
    :
          - '&b[px] <button_play>'
           - '&b[px] <button_auto>'
           - '&b[px] <button_leave>'
         play
    :
           value
    : '&b¿Want play again? &a&lClick here&e to play again.'
           hover
    : '&b&lClick to play again'
         auto
    :
           value
    : '&b¿Want toggle auto play-again? &a&lClick here&e to toggle.'
           hover
    : '&b&lClick to toggle auto join'
         leave
    :
           value
    : '&b¿Want leave? &a&lClick here&e to leave.'
           hover
    : '&b&lClick to leave'
         customOptions
    :
           custom1
    :
             value
    : '&aThis is a custom message'
             hover
    : '&bThis is a custom hover'
             customAction
    : 'URL'
             customResult
    : 'https://spigotmc.org'
       deathMessages
    :
         pvp
    : '&7%victim% was killed by %attacker%'
         void
    : '&7%victim% was searching a diamond.'
         lava
    : '&7%victim% was on fire!'
         bow
    : '&7%attacker% is the best with the bow vs %victim%'
         otherCause
    : '&7%victim% died'
       kits
    :
         enought
    : '&eYou need &6%price% &eto buy this kit.'
         purchase
    : '&aNow you have the kit &b%kit_name% &a(&3-%price%&a)'
         select
    : '&aNow you selected kit &b%kit_name%'
         reset
    : '&aNow you don''t have kit selected.'
       others
    :
         winCoins
    : '&6+%winCoins% coins (Win)!'
         playAgainWin
    : '&a&lYOU WON! &e&lWant to play again? <clickText>'
         playAgainLoose
    : '&c&lYOU LOOSE! &e&lWant to play again? <clickText>'
         playAgainClickText
    : '&6&lCLICK HERE'
         titles
    :
           gameStart
    :
             title
    : '&a'
             subtitle
    : '&aGame Started!'
           runnersGo
    :
             toRunners
    :
               title
    : '&a'
               subtitle
    : '&aYou has been released, GO!'
             toBeasts
    :
               title
    : '&a'
               subtitle
    : '&aThe runners has been released!'
           beastsGo
    :
             toRunners
    :
               title
    : '&a'
               subtitle
    : '&cThe beasts has been released!'
             toBeasts
    :
               title
    : '&a'
               subtitle
    : '&aYou has been released, GO!'
           Winner
    :
             title
    : '&6&lVICTORY!'
             subtitle
    : '&b%winner_name%&f won the game!'
           Looser
    :
             title
    : '&c&lGAME OVER!'
             subtitle
    : '&8%attacker_name%&f kill you!'
         beastDistance
    :
           toRunners
    : '&bDistance between you and &e&lBEAST &f%beastName%'
           toBeasts
    : '&bRunners with life: &e&l%runners%'
         checkpoint
    :
           use
    : '&aYou has been teleported to your last checkpoint.'
           already
    : '&7You already has an checkpoint in use.'
      lobby
    :
       actionBar
    : '&bYou are playing &e&lRFTB &bwith &e&lGuardianRFTB'
       bossBar
    : '&bYou are playing on &e&nServerName Network&b.'
      others
    :
       buttons
    :
         autoPlay
    :
           on
    : '&aNow you &lENABLED&a the autoPlay option'
           off
    : '&cNow you &lDISABLED&c the autoPlay option'
         playAgain
    :
           searching
    : '&aSearching games..'
           sending
    : '&aSending you to game &b%game_name%&a.'
       already
    : '&cYou are already playing'
       leave
    :
         confirm
    : '&a&lTeleporting you to the lobby in <leaveCancelTime> seconds...[new line]&a&lRight-Click again to cancel the teleport!'
         cancelled
    : '&c&lTeleport cancelled!'
       no-perms
    : '&cYou need permission &7%permission% &cfor this action.'
       full
    : '&cThis game is full!'
       gamePlaying
    : '&cThis arena is in game.'
       restarting
    : '&cThis game is in restarting mode!'
       playerError
    : '&7%player% &cis not online.'
       customChat
    :
         inGame
    : '&a[%player_role%&a] &7<player_name>&8: &f%message%'
         spectator
    : '&8[SPECTATOR] &7<player_name>&8: &f%message%'
         lobby
    : '&7<player_name>&8: &f%message%'
      admin
    :
       create
    : '&aArena &b%arena_id% &acreated correctly!'
       delete
    : '&aArena &b%arena_id% &aremoved correctly!'
       arenaError
    : '&7%arena_id% &cdoesn''t exists'
       setWaiting
    : '&aWaiting Lobby now is in &b%location%'
       setSpawn
    : '&aSpawn-%spawnType% now is in &b%location%'
       setCenter
    : '&aArena center now is in &b%location%'
       setChestArea
    : '&aArena Chest Area now is in &b%location%'
       setMode
    : '&aArena Mode now is &b%arena_mode%'
       setCreator
    : '&aArena creator now is &b%arena_creator%'
       setName
    : '&aArena ID: &b%arena_id% &anow has the name: &b%arena_name%'
       saveArena
    : '&aArena &b%arena_name%&a(&b%arena_id%&a) was saved and enabled correctly!'
       editArena
    : '&aNow you can edit arena &b%arena_name%&a(&b%arena_id%&a)'


     

    Plugin: Permissions(top)

    Admin Commands:
    - grftb.admin.help
    - grftb.admin.help.game
    - grftb.admin.help.others
    - grftb.admin.cmd.lobby
    - grftb.admin.cmd.reload
    - grftb.admin.cmd.game
    - grftb.admin.cmd.holo
    - grftb.admin.cmd.coins
    - grftb.admin.cmd.npc
    Menu Command:
    - grftb.menu.join

    Tutorial: Arena Creation(top)


    FIRST: You need a world plugin if you want use more worlds, GuardianRFTB don't have World-Loader system.

    FIRST: Use the command /rftb admin game create <mapName>
    * EXTRA INFO - Selected Beast:
    (In can be in the same Waiting Room, this is only to move the beast to another position in the waiting Room like the classic minigame)
    SECOND: Set game locations Waiting, SelectedBeast, RunnerSpawn & BeastSpawn
    THIRD<OPTIONAL>:
    Add Game Chests with /rftb admin game addChest <mapName> <chestName>
    FOUR<OPTIONAL WITH THE THIRD>:
    Add Chest Locations for Game Chests /rftb admin game addChestLoc <mapName> <chestName>
    FIVE<OPTIONAL>:
    Set min players,max players & game mode, by default the min is 2, the max is 10 and the Mode is CLASSIC.

    Tutorial: Create Game Signs(top)

    Make sure than you have enabled the block place and block break in the lobby, by default the lobby block place is disabled, you need change the path
    cancelBlockPlace to false
    If you don't see the path, you need create this path.
    Code (YAML):
    settings:
      options
    :
        cancelBlockPlace
    : false

    Line1: [rftb]
    Line2: <mapName>


    FINISH: Use the command /rftb admin game enable <mapName>, And Done!

    Tutorial: Add Enchantments or Modify Item Amount(top)

    In all items configurables by the plugin, you can add Enchantments or edit the item amout but you don't see these paths, because are optional paths.
    Example of Enchantments Path:
    Code (YAML):
         helmet:
            name
    : '&aDiamond Helmet'
            slot
    : 21
            lore
    :
           - '&8GuardianRFTB'
            item
    : DIAMOND_HELMET
            enchantments
    :
           - UNBREAKING, 10
            - PROTECTION, 5
    Example of Item Amount:
    Code (YAML):
         arrow:
            name
    : '&aArrow'
            slot
    : 21
            lore
    :
           - '&8GuardianRFTB'
            item
    : ARROW
            amount
    : 3

    PlaceholderAPI: Placeholders(top)

    Placeholders:
    - %grftb_wins%
    - %grftb_deaths%
    - %grftb_coins%
    - %grftb_kills%
    - %grftb_kits%
    - %grftb_currentGame%
  • Loading...
  • Loading...