Skip to content

Command & Permissions

Pim van der Loos edited this page Apr 17, 2023 · 1 revision

Commands & Permissions:

Below is a list of all commands and permissions used by AnimatedArchitecture.

In the table, there are three types of parameters that may be used in a command:

  • <parameter>: Required parameters.
  • [parameter]: Optional parameters.
  • {parameter}: Parameters that are optional when executing the command using the GUI, but required when executing the command using the chat.

Whenever a command accepts a "structure" parameter, you can either specify the name of the structure, or its unique ID. When more than 1 structure has the same name, you may be prompted to select the structure you want to use.

Several commands have a user permission and an admin permission that starts with animatedarchitecture.admin.bypass.attribute. For these commands, the user permission is required to execute the command normally, and the admin permission is required to bypass the ownership check for the target structure. This means that using the admin permission will allow you to execute the command on any structure, even those that you do not own.

Command Permission Explanation
/AnimatedArchitecture addowner <player> [level] {structure} animatedarchitecture.user.addowner
animatedarchitecture.admin.bypass.addowner
Adds another player as co-owner to a structure.

The level parameter can be either admin or user, though these levels may be localized. If it is not specified, the level will be user.

Admins can modify the structure, while users can only use the structure.

/AnimatedArchitecture cancel animatedarchitecture.user.base Cancels a process (such as structure creation) that is currently waiting for your input.
/AnimatedArchitecture confirm animatedarchitecture.user.base Confirms a process (such buying a structure) that is currently waiting for your input.
/AnimatedArchitecture debug animatedarchitecture.admin.debug Prints the debug information to the console.

Please do this if you encounter a bug, and send the output to the developer along with a description of the bug.

/AnimatedArchitecture delete <structure> animatedarchitecture.user.delete
animatedarchitecture.admin.bypass.attribute.delete
Deletes a structure.
/AnimatedArchitecture info <structure> animatedarchitecture.user.info
animatedarchitecture.admin.bypass.attribute.info
Shows information about a structure in the chat and highlights the location of the structure in the world.
/AnimatedArchitecture inspectpowerblock animatedarchitecture.user.inspect
animatedarchitecture.admin.bypass.attribute.inspect
Allows you to inspect a location in a world and see if there are any power blocks there, and, if so, which structure(s) it belongs to.
/AnimatedArchitecture liststructures [name] animatedarchitecture.user.liststructures
animatedarchitecture.admin.bypass.attribute.liststructures
Lists all structures that you own in chat. If the name parameter is specified, only structures with that name will be listed.
/AnimatedArchitecture lock <status> <structure> animatedarchitecture.user.lock
animatedarchitecture.admin.bypass.attribute.lock
Locks or unlocks a structure.

The status parameter can be "true", "yes", or "on" to enable the lock, or "false", "no", or "off" to disable the lock.

/AnimatedArchitecture menu [player] animatedarchitecture.user.base
animatedarchitecture.admin.bypass.attribute.menu
Opens the AnimatedArchitecture GUI.

If the user has the admin bypass permission, an optional player parameter can be specified to open the GUI for that specific player.

/AnimatedArchitecture movepowerblock <structure> animatedarchitecture.user.relocatepowerblock
animatedarchitecture.admin.bypass.attribute.relocatepowerblock
Moves the power block of a structure to a new location.
/AnimatedArchitecture newstructure <type> [name] animatedarchitecture.user.base
animatedarchitecture.user.create.<type>
Creates a new structure.

The type parameter can be any of the structure types that are registered in the game. By default, this plugin comes with the following types:

  • BigDoor
  • Clock
  • Drawbridge
  • Flag
  • GarageDoor
  • Portcullis
  • RevolvingDoor
  • SlidingDoor
  • Windmill

If the name parameter is omitted, the name of the structure will need to be specified later.

/AnimatedArchitecture removeowner <player> {structure} animatedarchitecture.user.removeowner
animatedarchitecture.admin.bypass.attribute.removeowner
Removes a player from the list of owners of a structure.

Without admin bypass permission, the player must have a higher rank of ownership than the player they are trying to remove. So an admin cannot remove another admin; only the original creator can, but either can remove a user.

/AnimatedArchitecture restart animatedarchitecture.admin.restart Restarts the plugin.

This will reload the configuration file and reinitialize many of the plugin's internal systems.

Any new structures types that may have been installed since the plugin was last started will be registered, but any that have been removed will not be unregistered.

/AnimatedArchitecture setblockstomove <amount> {structure} animatedarchitecture.user.base
animatedarchitecture.admin.bypass.attribute.blockstomove
Sets the number of blocks that a structure will move when it is activated. Only applies to structure types that move in a straight line, such as sliding doors and portcullises.
/AnimatedArchitecture setname <name> animatedarchitecture.user.base Sets the name of a structure during creation if the name parameter was omitted from the creation command.
/AnimatedArchitecture setopendirection <direction> {structure} animatedarchitecture.user.base
animatedarchitecture.admin.bypass.attribute.opendirection
Sets the direction that a structure will open when it is activated.

May not apply to all structure types.

/AnimatedArchitecture setopenstatus <status> {structure} animatedarchitecture.user.base
animatedarchitecture.admin.bypass.attribute.openstatus
Sets the open status of a structure. This is the state the plugin will assume the structure is in currently, so changing this will not cause the structure to move unless required by e.g. the redstone power status of the power block.

May not apply to all structure types.

/AnimatedArchitecture specify ... animatedarchitecture.user.base Currently not functional :(
/AnimatedArchitecture stopstructures animatedarchitecture.admin.stopstructures Aborts all structure movement tasks.
/AnimatedArchitecture toggle <structure> animatedarchitecture.user.toggle
animatedarchitecture.admin.bypass.attribute.toggle
Toggles a structure. If the structure is currently open, it will close. If it is currently closed, it will open.

For types that are intended to move perpetually, this will cause the structure to move for a limited amount of time, allowing you to see the structure in motion.

/AnimatedArchitecture preview <structure> animatedarchitecture.user.toggle
animatedarchitecture.admin.bypass.attribute.toggle
Shows a preview of a structure. This will cause the structure to move for a limited amount of time as ghost blocks using the structure's current settings, allowing you to see the structure in motion without actually moving it.
/AnimatedArchitecture version animatedarchitecture.admin.version Displays the version of the plugin.
- animatedarchitecture.admin.bypass.protectionhooks Allows a user to bypass all protection hooks for plugins such as WorldGuard, PlotSquared, etc,. when creating/toggling structures.
Clone this wiki locally