Installation

  1. Download the UltraStaff.jar file.

  2. Place it inside your server's /plugins folder.

  3. Restart the server.

  4. All configuration files will be automatically generated.

Default Files

config.yml
###############################################
##                                           ##
##                UltraStaff                 ##
##          Developed by LostStr1ng          ##
##                                           ##
###############################################

# --------------------- General ---------------------
updateMessage: true
useMiniMessage: false # Not work on Spigot
configVersion: 2.0 # don't change this

# --------------------- StaffMode ---------------------
staffmode:
  # if is enabled, players in staffmode can't break/place/drop/pickup blocks
  restrictions: true
  items:
    navigator:
      enabled: true
      slot: 0
      id: COMPASS
      name: "&9&lNAVIGATOR"
      lore:
        - '&8(πŸ””) StaffMode'
        - '&7'
        - '&7 Launches you towards the,'
        - '&7 location you are facing.'
        - '&7'
    randomTP:
      enabled: true
      slot: 1
      id: ENDER_EYE
      name: "&6&lRANDOM TP"
      lore:
        - '&8(πŸ””) StaffMode'
        - '&7'
        - '&7 Teleports you to a random player.'
        - '&7'
    vanish:
      enabled: true
      slot: 2
      item-enabled:
        id: GREEN_DYE
        name: "&a&lVANISH"
        lore:
          - '&8(πŸ””) StaffMode'
          - '&7'
          - '&7 Disable your vanish'
          - '&7'
      item-disabled:
        id: RED_DYE
        name: "&c&lVANISH"
        lore:
          - '&8(πŸ””) StaffMode'
          - '&7'
          - '&7 Enable your vanish'
          - '&7'
    fly:
      enabled: true
      slot: 3
      id: FEATHER
      name: "&2&lFLY"
      lore:
        - '&8(πŸ””) StaffMode'
        - '&7'
        - '&7 Enable or Disable your fly mode'
        - '&7'
    minerTP:
      enabled: true
      slot: 5
      id: GOLDEN_PICKAXE
      name: "&d&lMINER TP"
      lore:
        - '&8(πŸ””) StaffMode'
        - '&7'
        - '&7 Open a gui of the players mining'
        - '&7'
    freeze:
      enabled: true
      slot: 6
      id: ICE
      name: "&b&lFREEZE"
      lore:
        - '&8(πŸ””) StaffMode'
        - '&7'
        - '&7 Toggles freeze for the clicked player.'
        - '&7'
    invsee:
      enabled: true
      slot: 7
      id: CHEST
      name: "&e&lINVSEE"
      lore:
        - '&8(πŸ””) StaffMode'
        - '&7'
        - '&7 Inspects the inventory of'
        - '&7 the player that was clicked.'
        - '&7'
    cps:
      enabled: true
      slot: 8
      id: CLOCK
      name: "&3&lCPS CHECKER"
      lore:
        - '&8(πŸ””) StaffMode'
        - '&7'
        - '&7 Runs a click per second test on,'
        - '&7 the player that was clicked.'
        - '&7'

# --------------------- Modules ---------------------

###############################################
##                                           ##
##                UltraStaff                 ##
##            Fly module settings            ##
##                                           ##
###############################################

fly:
  enable: true # set 'false' disables this plugin's command so that it doesn't interfere with others like EssentialsX

###############################################
##                                           ##
##                UltraStaff                 ##
##          InvSee module settings           ##
##                                           ##
###############################################

invsee:
  menuTitle: "&6&lINVENTORY &fof %target%"

###############################################
##                                           ##
##                UltraStaff                 ##
##          Freeze module settings           ##
##                                           ##
###############################################

freeze:
  enable: true # set 'false' to disable this module (command and staffmode item feature)
  disconnect_commands: # A list of commands to execute wen a player is frozen and it disconnects
    - "ban %player% Refuse to SS "
  cooldown_message: 10 # the time is in seconds
  allowed_commands: # the list of allowed commands wen the player is frozen
    - "/msg"
    - "/r"

###############################################
##                                           ##
##                UltraStaff                 ##
##          Alerts module settings           ##
##                                           ##
###############################################

alerts:
  mode: whitelist # modes: whitelist or blacklist, it is for worlds to handle alerts
  worlds: # world list to whitelist or blacklist
    - "world"
    - "survival"
    - "world_nether"
  blocks: # List of block to alert, you have the list of blocks available at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
    - "DIAMOND_ORE"
    - "EMERALD_ORE"
  minY: 13 # the min layer Y to handle the alerts

###############################################
##                                           ##
##                UltraStaff                 ##
##       StaffChat module settings           ##
##                                           ##
###############################################

staffchat:
  format: "&8[&bStaffChat&8] &7%player% &8Β» &f%message%"
  logConsole: true # Log staffchat messages in console?


###############################################
##                                           ##
##                UltraStaff                 ##
##        Navigator module settings          ##
##                                           ##
###############################################

navigator:
  velocity: 4

###############################################
##                                           ##
##                UltraStaff                 ##
##        MinerTP module settings            ##
##                                           ##
###############################################

minerTP:
  layerY: 13
  title: "&e&lMINER TP"
  item:
    name: "&7Player: %target%"
    lore:
      - '&8(πŸ””) Information'
      - '&7'
      - '&7 Layer: &6%layer%'
      - '&7 World: &a%world%'
      - '&7'
      - '&7 ( Click to teleport )'
  filler:
    id: BLACK_STAINED_GLASS_PANE
    name: "&7"
    slots:
      - 0-9
      - 17-18
      - 26-27
      - 35-36
      - 44-53
  nextPage:
    id: ARROW
    name: "&7Next page"
    slot: 53
  previousPage:
    id: ARROW
    name: "&7Previous page"
    slot: 45
messages.yml
# Prefix
prefix: "&#00D571&lSTAFF &8Β» "
# General messages
noPermissions: "&cYou don't have permission for this"
playerNotFound: "&cPlayer %target% not found or is not online"
selfError: "&cYou can't do this to yourself"
usage: "&cUsage: &7/%command% %args% &8| &c<required> &a[optional]"
reload: "&aPlugin reloaded"
# Message wen player enable/disable staffmode
staffModeOn: "&aStaffMode enabled"
staffModeOff: "&cStaffMode disabled"
# Message wen player enable/disable fly mode
flyOn: "&aFly toggle to true"
flyOff: "&cFly toggle to false"
flyOnOther: "&aFly toggled to true to &e%target%"
flyOffOther: "&cFly toggled to false to &e%target%"
# Message wen player enable/disable vanish
vanishOn: "&aVanish mode enabled, now no body can see you"
vanishActionBar: "&7You are in &a&lVANISH"
vanishOff: "&cVanish mode disabled, now everyone can see you"
# Message wen player teleport to a random player
randomTP: "&aTeleported randomly to: %target%"
randomEmpty: "&cNo players to teleport"
# Message wen invsee is open
invSee: "&aInventory of %target% opened"
# message wen player starts a CPS check
cpsStart: "&aCPS check for &e%target%&a started..."
cpsResult: "&aThe CPS check result for &e%target%&a is &9%cps%"
# message wen player freezes
freeze: "&aPlayer &e%target%&a was frozen"
freezeTarget: "&cYou are frozen, please follow the staff instructions"
unFreeze: "&aPlayer &e%target%&a was unfrozen"
unFreezeTarget: "&aYou're unfrozen, thank you for your attention."
# message wen navigate
navigator: "&aYou was launched to you was seeing"
## messages wen enable/disable StaffChat
staffchatOn: "&aYour staffchat now is &nenabled"
staffchatOff: "&cYour staffchat now is &ndisabled"
## messages of chat management
chatMute: "&cThe chat has been muted by &n%player%"
chatUnMute: "&aThe chat has been unmuted by &n%player%"
chatMuted: "&cThe chat is muted"
chatCleared: "&7Chat has been cleared by &n%player%"
## Messages of alert management
alertMessage: "&7Player &a&n%player%&7 mined &b%block%&7 in world %world%."
alertOn: "&aAlerts enabled"
alertOff: "&cAlerts disabled"

Dependencies

  • PlaceHolderAPI (optional)

Last updated