Structures Manager | Easily manage your structures [1.17.X - 1.21.X] icon

Structures Manager | Easily manage your structures [1.17.X - 1.21.X] -----

Don't lose time with structures anymore



What is "Structures Manager"
Structures Manager is a plugin that allow server admins to manage structures quickly and easily through commands.

Features
  • Save/Import structures into a schem file
  • Paste saved structures multiple times with different IDs
  • Reload one or all pasted structures at once, ideal for breakable map fields
  • Give a default WorldGuard region to your pasted structures with configurable flags
  • Teleport yourself to a placed structure by its ID
  • Custom build protection that allow players to destroy only placed blocks
  • Whitelist of placable blocks inside build protected structures
  • Remove a pasted structure from the world by a simple command
  • Remove a saved structure file by a simple command
  • Fully customizable with configs and messages files
How to install
  • Download the latest version of the plugin
  • Place the downloaded .jar file in your server plugin folder
  • Start your server
  • Enjoy!
Commands
  • /sm » Display this help page
  • /sm save <structure_name> »
    Save the structure you made at your location with the current wand selection
  • /sm place <structure_name> <structure_id> » Place the structure you saved at your location
  • /sm delete <save/structure> <structure_name> » Delete the structure you saved
  • /sm tp <structure_name> » Teleport yourself to the placed structure
  • /sm whitelist <add/remove> <structure_name> <material> » Add or remove a material from the whitelist of the structure
  • /sm toggle <build/whitelist> <structure_name> » Toggle the buildable flag or the whitelist of the structure
  • /sm reset <structure_id/all> » Reset the structure with the given id or all structures
  • /sm makewgregion <structure_id> » Make a WorldGuard region at the given structure id with the configured flags
  • /sm help » Display the help page
  • /sm reload » Reload the plugin
Messages and Configs Files
Code (YAML):

prefix
: "&2[&aStructuresManager&2]&r "

# Messages
help-command
:
 - "&2/{label} &c» &dDisplay this help page"
  - "&2/{label} save <structure_name> &c» &dSave the structure you made at your location with the current wand selection"
  - "&2/{label} place <structure_name> <structure_id> &c» &dPlace the structure you saved at your location"
  - "&2/{label} delete <save/structure> <structure_name> &c» &dDelete the structure you saved"
  - "&2/{label} tp <structure_name> &c» &dTeleport you to the placed structure"
  - "&2/{label} whitelist <add/remove> <structure_name> <material> &c» &dAdd or remove a material from the whitelist of the structure"
  - "&2/{label} toggle <build/whitelist> <structure_name> &c» &dToggle the buildable flag or the whitelist of the structure"
  - "&2/{label} reset <structure_id/all> &c» &dReset the structure with the given id or all structures"
  - "&2/{label} makewgregion <structure_id> &c» &dMake a WorldGuard region at the given structure id with the configured flags"
  - "&2/{label} help &c» &dDisplay this help page"
  - "&2/{label} reload &c» &dReload the plugin"

reload-command
:
 - "&2Reloading..."

teleport-to-structure-success
:
 - "&aTeleported to the structure &b{struct_name}&a!"

structures-reset-success
:
 - "&aStructures reset!"

structure-place-success
:
 - "&aStructure placed!"

structure-save-success
:
 - "&aStructure saved!"

structure-delete-success
:
 - "&aStructure &b{struct_name} &adeleted!"

wg-region-make-success
:
 - "&aWorldGuard region made with the id {struct_name}!"

structure-file-delete-success
:
 - "&aStructure file &b{struct_name}.schem &adeleted!"

buildable-toggle-success
:
 - "&aStructure &b{struct_name}'s &abuildable flag is now &b{status}&a!"

whitelist-toggle-success
:
 - "&aStructure &b{struct_name}'s &awhitelist is now &b{status}&a!"

material-add-success
:
 - "&aMaterial &b{material} &aadded to the whitelist of the structure &b{struct_name}&a!"

material-remove-success
:
 - "&aMaterial &b{material} &aremoved from the whitelist of the structure &b{struct_name}&a!"

errors
:
  structure-already-whitelist-status
:
   - "&cStructure &b{struct_name} &chas already his blocks whitelist {status}!"
  structure-already-can-build-status
:
   - "&cStructure &b{struct_name} &chas already his \"can-build\ " flag {status}!"
  structure-reset-failed
:
   - "&cFailed to reset the structure &b{struct_name}&c, the schematic file must've been deleted!"
  structure-place-failed
:
   - "&cFailed to place structure, make sure you saved it first!"
  structure-delete-failed
:
   - "&cFailed to delete structure &b{struct_name}&c, make sure you placed it first!"
  structure-file-delete-failed
:
   - "&cFailed to delete structure &b{struct_name}&c!"
  structure-file-not-existing
:
   - "&cStructure file &b{struct_name} &cdoesn't exist!"
  structure-not-existing
:
   - "&cStructure &b{struct_name} &cdoesn't exist!"
  structure-already-existing
:
   - "&cStructure already exists!"
    - "&cIf you want to override it, use &2/{label} delete {struct_name} &cand then &2/{label} place {struct_name}&c!"
  structure-save-failed
:
   - "&cFailed to save structure, make sure you made a selection first!"
  material-already-whitelisted
:
   - "&cMaterial &b{material} &cis already whitelisted!"
  material-not-whitelisted
:
   - "&cMaterial &b{material} &cis not whitelisted!"
  material-not-existing
:
   - "&cMaterial &b{material} &cdoesn't exist!"
    - "Please check the material name at &2https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html"
  must-be-a-player
:
   - "&cYou must be a player to execute this command!"
  not-enough-permission
:
   - "&cSorry, but you don't have enough permission to do that!"
 
Code (YAML):

# You can add any region flag you want here, but make sure to add it to the list of flags
# You just need to add the flag name and the value you want it to be
wg-region-flags
:
  PVP
: true
# Some examples:
#  MOB_DAMAGE: true
#  MOB_SPAWNING: true

debug
: false
 

Permissions

  • structuresmanager.save (/sm save)
  • structuresmanager.place (/sm place)
  • structuresmanager.delete (/sm delete)
  • structuresmanager.tp (/sm tp)
  • structuresmanager.toggle (/sm toggle)
  • structuresmanager.whitelist (/sm whitelist)
  • structuresmanager.reset (/sm reset)
  • structuresmanager.makewgregion (/sm makewgregion)
  • structuresmanager.reload (/sm reload)
Servers using this plugin
  • Add your server now!
(if you want your server listed here, feel free to ask for it)

Code (Text):
• Teleportation to a placed structure with a command. (1.1.0)

Need support ? Feel free to contact me on discord!

Feel free to rate the plugin and send feedback!
Resource Information
Author:
----------
Total Downloads: 4
First Release: Jul 31, 2023
Last Update: Oct 5, 2023
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings