AlmuraDev / SGCraft

Stargates mod for Minecraft
https://www.almuramc.com/sgcraft/SGCraft.html
MIT License
31 stars 29 forks source link

Implemented Admin Upgrade #121

Open Schmille opened 4 years ago

Schmille commented 4 years ago

Adds an Admin Upgrade that, as suggested in #118, makes the stargate indestructible when applied. After applying the upgrade, the Stargate can only be destroyed by an operator in creative mode.

To accomplish this the following additions and changes have been made:

The new fields are currently not available through the Configurator, though they could be added. It might be a good idea to not make the "requiresAdminToBreak" field available in this way, to keep gates from being broken even by players that have full access to the Configurator.