asCMD - Armor Stand Command - Great for lobby servers! 2.1

The easiest plugin to add commands to Armor Stands!

  1. Whitehouse_256
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.11
    • 1.15
    Contributors:
    Libor
    1.15.2 support: tested on PaperSpigot and it works, please report any error.
    1.14.3 support: please download http://zombieapocalypse.eu/files/asCMD1_14_3.jar


    This plugin is the easiest and the best plugin to add commands on rightclick on an Armor Stand. This plugin is also lightweight as far as it goes. Next thing this plugin can do is protecting the Armor Stands from destroying and stealing items from them. The plugin will protect only Armor Stands with bound commands on them!

    What can this plugin do?
    • Add commands to armor stands
    • Protect armor stands
    Commands:
    • /ascmd edit - Toggles edit mode - only in edit mode you can edit items on armor stands and also destroy them.
    • /ascmd addcmd <method> <command> - Adds command to armor stand - see Usage.
    • /ascmd clear - Clears commands from armor stand - see Usage.
    • /ascmd info - Writes all commands on an armor stand to chat
    • /ascmd reload - Reloads the config
    • /ascmd config <key> <value> - Sets config's key to value without manually opening and editing config.yml. Keys can be: msgToConsole, enableLeftClick or cooldownMs
    • /ascmd update - Checks for new updates
    Permissions:
    • ascmd.admin - The only permission for all subcommands
    • ascmd.update - Permission to get notified when update is available
    Usage:
    Adding command:

    • Use /ascmd addcmd <console/player> <command>
      (ex: /ascmd addcmd console say %player% is the best)
      You can use %player% placeholder, which will get replaced by nickname of player who clicked the armor stand.
    • Rightclick on armor stand to add command on it
    • Done
    Adding BungeeCord server teleport:
    • Use /ascmd addcmd bungee <servername>
      (ex: /ascmd addcmd bungee kitpvp)
    • Rightclick on armor stand to add command on it
    • Done
    Clearing commands:
    • Use /ascmd clear
    • Rightclick on armor stand to delete all commands on it
    • Done
    Methods:
    • console - The specified command will be executed from console
    • player - The specified command will be executed by player who clicked the armor stand
    • bungee - The specified server will be teleported player to. Ex: /ascmd addcmd bungee kitpvp will send player to BungeeCord server named kitpvp
    Configuration:
    Code (YAML):
    format-version: '2' # Do not ever change this
    config
    :
      msgToConsole
    : true # If true, you will get messages to console about executed command on click on an armor stand
      enableLeftClick
    : false # If true, players will be able to leftclick the armor stands. It will work the same like the player right clicked the armor stand
      cooldownMs
    : 100 # Cooldown in milliseconds needed between armor stand clicks (per player). If you set this for example to 1000, a player can use armor stand at most once a second.
     
    You may decompile plugin if you want (but please don't claim it as your own work, link to spigotmc resource will be enough). You may post suggestions on this page and maybe I will add some of them to plugin in the next version. The plugin MAY work on the other versions, but I haven't tested it. BTW this plugin is my first plugin I've ever made.

    Compatibility:
    Compatible with both plugin.yml and PlayerCommandPreprocessEvent commands.

    Videos:
    In Spanish language (v2.0):

    Thanks, surdo

    In English language (older version):

    Thanks, NhutThinhVN

    In Russian language (older version):

    Thanks, Vejksu42

    Milestones:
    2^8 downloads <3
    2^9 downloads <33
    2^10 (1024) downloads <333
    2^11 (2048) downloads Thanks a lot!
    2^12 (4096) downloads Wow!
    2^13 (8192) downloads Thank you all!
    2^14 (16384) downloads Amazing!

Recent Updates

  1. New features update!
  2. Config update!
  3. Nothing changed update

Recent Reviews

  1. JHiroshige
    JHiroshige
    5/5,
    Version: 2.1
    This plugins is great! But I have one problem. What is the command that the player opens /shop? I already tried /ascmd addcmd console shop but its not working.
    1. Whitehouse_256
      Author's Response
      Hello, thanks for the review!
      If you want open shop with command /shop which has to be run as a player, use /ascmd addcmd player shop.
  2. RubenCaleb
    RubenCaleb
    5/5,
    Version: 2.1
    really nice plugin! but can you add a new the variable in the commands?

    example: If you run differents commands when you do right-click or left-click so you should write /ascmd addcmd <right-click/left-click> <console/player> <command>

    so, you can run a differente command when you right click the Armorstand and also you can run other command when you do left-click!
    Please add this feature :( i will be relly nice! and useful!
    1. Whitehouse_256
      Author's Response
      Hello, thanks for the review. I have been thinking about this feature for a long time now and maybe I will add it soon! :)
  3. _IceFire_
    _IceFire_
    5/5,
    Version: 2.1
    Nice!
    ----------------------------------------------------------------------------
    1. Whitehouse_256
      Author's Response
      Thanks for the review :)
  4. Zarland
    Zarland
    5/5,
    Version: 2.1
    Very good plugin, thanks for your support. Good Job! I used with amorstandtools because cmds dont work in 1.8 and you were my salvation. Thanks.
    1. Whitehouse_256
      Author's Response
      Hello, thanks for the review! I am glad my plugin helped you :)
  5. mnamkocraft
    mnamkocraft
    5/5,
    Version: 2.1
    Funguje na 1.12.2 ? je to skvělý :)
    1. Whitehouse_256
      Author's Response
      Ahoj, fungovat by měl, nezbývá než to zkusit :) Díky za recenzi.

      Thanks for the review. This plugin should work od 1.12.2 version, just try it.
  6. Ajlais
    Ajlais
    5/5,
    Version: 2.1
    Zdravím, plugin sa mi páči, ale mam otázku :D ide o to že či by išlo spraviť toto: Hráč klikne na armor stand a aby ho to portlo napr na suradnice 120 80 -20
    ono totiž "@p" nefunguje >> (/ascmd addcmd console tp @p 120 80 -20)

    ak by to teda nejako išlo tak by som rad vedel ako :D Dopredu ďakujem!
    1. Whitehouse_256
      Author's Response
      Ahoj, děkuji za 5 hvězd. Můj plugin přeci podporuje proměnnou %player%, zkus tedy/ascmd addcmd console tp %player% 120 80 -20

      Thanks for the review, use %player% instead of @p.
  7. IchBin_REDUX
    IchBin_REDUX
    4/5,
    Version: 2.1
    Ahoj, super plugin jen bych přidal možnost kliknuti obouma tlačítkama myši pro neznalé hráče :D Jinak dobrá práce.
    1. Whitehouse_256
      Author's Response
      Ahoj, jak to myslíš? Když si v configu zapneš enableLeftClick, jde kliknout oběma tlačítky myši.
  8. MevaxYT
    MevaxYT
    5/5,
    Version: 2.1
    Can you add PaperSpigot Support pls <3?


    Could not pass event PlayerInteractAtEntityEvent to asCMD v2.1
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-PaperSpigot-"4c7641d"]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[spigot.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1342) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:52) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:11) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_221]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_221]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [spigot.jar:git-PaperSpigot-"4c7641d"]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
    Caused by: java.lang.NullPointerException
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152) ~[spigot.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[spigot.jar:git-PaperSpigot-"4c7641d"]
    at com.whitehouse.ascmd.ArmorStand.onPlayerInteractAtEntity(ArmorStand.java:176) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_221]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_221]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[spigot.jar:git-PaperSpigot-"4c7641d"]
    ... 16 more
    1. Whitehouse_256
      Author's Response
      Hello, I have just tested my plugin on PaperSpigot 1.8.8 (even the same build as you have) and it worked perfectly fine. Could you please send me more details about your error? What exactly lead to this error?
  9. Peyotillo
    Peyotillo
    5/5,
    Version: 2.1
    Hi, great plugin, but I have an idea - have you plan to add permissions to commands /ascmd console/bungee/player and /ascmd config? For example:
    /ascmd console/bungee/player - ascmd.method.bungee/player/console
    /ascmd config - ascmd.config
    Please.

    -Peyo
    1. Whitehouse_256
      Author's Response
      Hello, thanks for the review. I don't know what would the purpose of your suggestion be. Could you write me an example use case for the permissions in the discussion topic?
  10. miguelrebolo
    miguelrebolo
    5/5,
    Version: 2.1
    The best plugin for armor stands i mean,this works worth my time,all the seconds on my freetime.But this plugin dont have wait-second method to execute the command /s.If you add this feature on next update this plugin could be more famous and usefull.I cant find a plugin with this option.Keep this amazing woork :)
    1. Whitehouse_256
      Author's Response
      Thank you for the review. You have an option in config named 'cooldownMs' to specify cooldown of any click on armor stand if you want to do this. Maybe I'll add cooldown per armorstand feature in the next update. But you can always use a command which has a cooldown on its own. If you mean something else, I didn't understand, you can write me PM or answer the Discussion thread here and explain it more.