Enables players to go invulnerable. Players who are invulnerable will not be targeted by mobs.
Sometimes, it is desirable to prevent invulnerable players from attacking others. As from 1.2.2, enabling the feature in
will activate this behaviour, overridable by granting the permission
nucleus.god.pvp.override to select players.
When players are invulnerable, Nucleus adds a permission context to the player permission set, so that you can change a player’s permissions when they are invulnerable.
Nucleus applies one context:
nucleus-invulnerablewill simply have the value “true” if the player is invulnerable.
Refer to your permission plugin documentation on how to set permissions on contexts.
The following are incompatibilities that may occur with this module, along with how to resolve the problem. For the full mod/plugin incompatibility list, see the compatibility page.
No plugin incompatibilities have been reported.
Root command aliases:
/god [<player>] [<true|false>]
Default Role: ADMIN
Basic Command Permission:
nucleus.god.base- Default Role: ADMIN
nucleus.god.pvp.override- Default Role: ADMIN
nucleus.god.others- Default Role: ADMIN
This command is an equivalent to the following command(s) in Essentials:
|nucleus.god.base||ADMIN||Allows the user to run the command /god|
|nucleus.god.others||ADMIN||Allows the user to target other players using the command "god".|
|nucleus.god.pvp.override||ADMIN||Allows the user to attack players when invulnerable, if the PvP disable on invulnerability feature is set.|
# If true, players that are invulnerable will not be able to attack other players or entities without the nucleus.god.pvp.override permission disable-pvp-on-god=false # If true, in order to keep invulnerability on login, the permission for the god command (nucleus.god.base) is required. If false, a player without access to the /god will not be invulnerable on login. require-god-permission-on-login=false