GodMode icon

GodMode -----

Adds a simple God mode to your server



This plugin is fully configurable and adds a simple God mode to your server.

Commands:
Code (Text):
/god [player] - toggles the God mode for the sender or the specified player
Code (YAML):
prefix : '&6&lGod&7>'
internal
:
  plugin_enabled
: ' {prefix } &aThe plugin has been enabled.'
  plugin_disabled
: ' {prefix } &cThe plugin has been disabled.'
  god_mode
:
    send_god_mode_message_to_other
: true
god_mode
:
  feed
: true
  stop_hunger
: true
  heal
: true
permissions
:
  message
: '&cYou do not have the permission to run this command.'
  god_mode
:
    you
: god_mode.you
    other
: god_mode.other
messages
:
  god_mode
:
    enabled
:
      you
: ' {prefix } &aGod mode enabled.'
      other
: ' {prefix } &aGod mode enabled for the player &6 {player }&a.'
    disabled
:
      you
: ' {prefix } &aGod mode &cdisabled&a.'
      other
: ' {prefix } &aGod mode &cdisabled&a for the player &6 {player }&a.'
error
:
  player_only
: ' {prefix } &cThis command can only be executed by a player.'
  player_not_found
: ' {prefix } &cThe player &6 {player }&c could not be found.'
  god_list
:
    creating
: ' {prefix } &cThere has been an error creating the God list file.'
    loading
: ' {prefix } &cThere has been an error loading the God list configuration
      file.'
    saving
: ' {prefix } &cThere has been an error saving the God list configuration
      file.'
    invalid_uuid
: ' {prefix } &cThere is an invalid uuid in the God list (&6 {uuid }&c ).'

Code (Text):
Toggle God mode: god_mode.you
Toggle God mode to others: god_mode.other
Every permission can be changed inside of the config file. Furthermore, setting the permission message to "" will return the default "Unknown command" message.

The plugin comes with a simple API that can be used the following way:
Code (Java):
GodManager godManager = GodMode. getInstance ( ). getGodManager ( ) ;
godManager. isInGodMode (player ) - returns whether a player is in God mode
godManager. enableGodMode (player ) - enables the God mode to a player
godManager. disableGodMode (player ) - disables the God mode to a player
godManager. toggleGodMode (player ) - toggles the God mode to a player
Resource Information
Author:
----------
Total Downloads: 288
First Release: Apr 24, 2022
Last Update: Apr 24, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings