Sueta
1.

1.8.8 - 1.16.5 - Freecam/Roam Mode

v1.1.0

Adds a Freecam/Roaming mode to spigot

·Plugin
Demo


Features

  • Freecam mode.
  • Vault support.

Commands & Permissions

Commands:

  • /roam - Plugin's main command, when it's ran it changes the player's gamemode to spectator

Permissions:

  • roamplugin.roam - Allows the player to run the command /roam
  • roamplugin.command.<command> - Allows the player to execute <command> while roaming
  • roamplugin.admin - Allows the player to be exempt from most of the plugin's blocked actions

Configuration

Config.yml:

#Config.yml - Template Plugin

console-prefix: "[RoamPlugin] "

roam:
  max-distance: 48 # max distance a player can travel while roaming (in blocks)
  duration: -1 # maximum duration of a roaming session (in seconds)
  cooldown: 60 # cooldown between roaming sessions (in seconds)

  # Disables commands while roaming
  # This can be overwritten if the player in question has the permission "roamplugin.command.<command>"
  # This can also be overwritten if the player has "roamplugin.admin"
  disable-commands: true

# PS: for pricing to work in server you'll need Vault and an Economy provider
# Vault: https://www.spigotmc.org/resources/vault.34315/
# Economy Provider(doesn't need to be this one): https://www.spigotmc.org/resources/essentialsx.9089/
vault-hook:
  price: 100 # price to roam
  enabled: false # whether vault is enabled or not in your server

Language.yml:

#Language.yml - RoamPlugin

messages:
  message-prefix: "&c[&6RoamPlugin&c] "
  no-permission: "&cYou don't have the permission needed to execute that command."

  still-on-cooldown: "&cWait more &e%cooldown_time% &cseconds before using that again."
  session-expired: "&eYour roaming session has &cexpired&e!"

  flying-error: "&cYou cant use roam while flying."
  interaction-error: "&cYou can't do that while roaming."
  command-error: "&cYou can't use that command while roaming."
  movement-error: "&cYou can't fly past that while roaming."

  started-roaming: "&eYou are now on roaming mode!"
  stopped-roaming: "&eYou are now out of roaming mode!"

  no-money: "&cYou need &e$%price% &cto enter roaming mode."
  payed-amount: "&eYou have paid &b$%price% &eto enter roaming mode!"

Support & Contact

Found a bug? Don't leave a bad review, report it here instead!
Need any help? Contact me on discord Gio#0404

Similar projects

Plugin →