Suggested name: MobCommands What I want: I want to be able to spawn mobs that do not move, that are locked stationary, they cant hurt you, they act like frozen peaceful mobs. I want it like mineplex where you can right click them to preform a command, and in my case, a command to open a GUI menu. Ideas for commands: /mcc create [Mob] [Name] - Create A Mob With the specified name. Color Codes Support /mcc delete - Delete the mob you are looking at /mcc set [command] - set the mob you are looking at with a command, / not needed. /mcc info - Shows the creator's info, gotta give credit Ideas for permissions: mcc.use - To Be able to use the mobs mcc.preformop - Preforms the command set as op. mcc.create - Create a Mob mcc.delete - Delete a Mob mcc.set - Set the Mob Command (mcc.use granted by default) When I'd like it by: Within 5-10 days This plugin is for strange ways network HG Server. We will be offering the highest donator rank available if you make this plugin. We're constantly adding more servers, professionally setup, with fun gametypes. We're currently in beta, and we are adding a Skyblock and Kitpvp Server, with pixelmon releasing in a few days. EDIT: I want it to be ran as a player if possible EDIT by Moderator: merged posts, please use the edit button instead of double posting.
One way to do this would be with denizen/citizen's 2. I am willing to write a denizen script for it if you need one.
Could You please do that for me? I'd appreciate it. I found something that does this already, but im trying to make it do the command /sg to open a gui menu, but the gui doesnt work. i'd really appreciate it if you could make it happen! Iroh ^ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Okay so I cannot create the plugin but I can use other plugins to create it. I will need to know what commands you want because I am going to hardcode them all and then I will tell you the commands to assign them to npc's. You will need to install: denizen, citizens2. I will start the script for denizen (denizen allows you to give citizens 2 npc's scripts which can do things like run commands).
Iroh. I need it to do /sg, the command opens a gui from chestcommands. I can't use the other one to do it, cause it says unknown command. and I have installed those plugins.
timtower I have tried that, with and without the slash, the command works when i do it, and everything else works, but opening gui's doesnt work with it.
[quote uid=90908850 name="TedTheTechie" post=2140681]Iroh. I need it to do /sg, the command opens a gui from chestcommands. I can't use the other one to do it, cause it says unknown command. and I have installed those plugins.[/quote] Okay so put<Edit by Moderator: Redacted mediafire url> /npc create name type(zombie ect.) Then you need to assign the script: /npc assignment --set assigncmd1 Now when you right click that npc it will run /sg as the player. I didn't do any permissions so everyone can use this npc but if you need me to I can implement that.
Iroh I think cause denzin required 1.6 citizens, i had 1.7.. I just uploaded 1.6 citizens, i just made the folder myself. Iroh I kept getting this: 02.01 17:02:18 [Server] INFO Disabling Citizens v2.0.10-SNAPSHOT (build 979) 02.01 17:02:18 [Server] ERROR v2.0.10-SNAPSHOT (build 979) is not compatible with Minecraft v1.7.2 - try upgrading or downgrading Citizens. Disabling. 02.01 17:02:18 [Server] INFO Creating file: config.yml 02.01 17:02:18 [Server] INFO Enabling Citizens v2.0.10-SNAPSHOT (build 979) And This from Denizen: 02.01 17:02:18 [Server] INFO at net.aufdemrand.denizen.Denizen.onEnable(Denizen.java:134) ~[?:?] 02.01 17:02:18 [Server] INFO at net.aufdemrand.denizen.utilities.depends.Depends.initialize(Depends.java:31) ~[?:?] 02.01 17:02:18 [Server] INFO at net.aufdemrand.denizen.utilities.depends.Depends.setupCitizens(Depends.java:87) ~[?:?] 02.01 17:02:18 [Server] INFO java.lang.NoClassDefFoundError: net/citizensnpcs/Citizens 02.01 17:02:18 [Server] ERROR Error occurred while enabling Denizen v0.9.2-SNAPSHOT (build 1277) (Is it up to date?) 02.01 17:02:18 [Server] INFO Enabling Denizen v0.9.2-SNAPSHOT (build 1277) EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Just realized 1.7.2/4 denizens has not been approved. Use this <-- latest dev build Then try putting the sg.yml file in the folder. Oh and you need the citizens dev build as well. Delete the old plugins/folders and restart. Sorry I forgot you needed the latest versions for 1.7.4 xD
Iroh I don't need citizens dev, It's updated to 1.7.2 on bukkit, my server is 1.7.2, ill just get denizens and see how it goes.
Iroh Here is the Citizens/Denizen's Error Part: 02.01 17:20:10 [Server] Startup Done (2.017s)! For help, type "help" or "?" 02.01 17:20:10 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 02.01 17:20:10 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:280) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 02.01 17:20:10 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:298) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 02.01 17:20:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 02.01 17:20:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 02.01 17:20:10 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218) ~[craftbukkit_beta.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 02.01 17:20:10 [Server] INFO at net.aufdemrand.denizen.Denizen.onEnable(Denizen.java:192) ~[?:?] 02.01 17:20:10 [Server] INFO at net.citizensnpcs.api.trait.TraitInfo.create(TraitInfo.java:72) ~[?:?] 02.01 17:20:10 [Server] INFO at java.lang.Class.getConstructor(Class.java:1718) ~[?:1.7.0_45] 02.01 17:20:10 [Server] INFO at java.lang.Class.getConstructor0(Class.java:2803) ~[?:1.7.0_45] 02.01 17:20:10 [Server] INFO at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493) ~[?:1.7.0_45] 02.01 17:20:10 [Server] INFO at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.7.0_45] 02.01 17:20:10 [Server] INFO java.lang.NoClassDefFoundError: net/minecraft/server/v1_6_R3/EntityHuman 02.01 17:20:10 [Server] ERROR Error occurred while enabling Denizen v0.9.2-SNAPSHOT (build 1277) (Is it up to date?) 02.01 17:20:10 [Server] INFO OKAY! All scripts loaded! 02.01 17:20:10 [Server] INFO Processing '/sg.yml'... 02.01 17:20:10 [Server] INFO Processing outside scripts... 02.01 17:20:10 [Server] INFO Processing 'genies.dscript'... 02.01 17:20:10 [Server] INFO Processing 'util.dscript'... 02.01 17:20:10 [Server] INFO +---------------------+ 02.01 17:20:10 [Server] INFO version: 0.9.2-SNAPSHOT (build 1277) 02.01 17:20:10 [Server] INFO by: aufdemrand 02.01 17:20:10 [Server] INFO (/(-/ )/ /_(-/ ) scriptable minecraft 02.01 17:20:10 [Server] INFO _/_ _ ._ _ _ 02.01 17:20:10 [Server] INFO +---------------------+ 02.01 17:20:10 [Server] INFO Enabling Denizen v0.9.2-SNAPSHOT (build 1277) 02.01 17:20:10 [Server] INFO Enabling Citizens v2.0.11-SNAPSHOT (build 1027) 02.01 17:20:10 [Server] INFO Essentials: Using zPermissions based permissions. 02.01 17:20:10 [Server] INFO [Vault][Economy] Essentials Economy hooked. 02.01 17:20:10 [Multicraft] Skipped 23 lines due to rate limit (30/s)
Iroh My Issue was I had 2 copys in my plugins folder. I can assign it. But When i click on it, it says Unknown command. When I do /sg without clicking on it, it works. timtower Are you able to help with my issue since Iroh won't respond? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
http://ci.citizensnpcs.co/view/Add-...ld/artifact/target/denizen-0.9.3-SNAPSHOT.jar And he is probably just busy
timtower It's working, but my issue is it wont open the gui. Someone requested cmdnpc on here, that works with all commands but commands that open guis.
Where does the command come from anyways? Chance is that it is an alias, try putting in the original command if so
timtower It's from chestcommands, the plugin for gui's, It allows you to set a command to open it, I tried using CompassNavigation also for the /compass it has. But It doesnt work. Everything else does, but gui's dont.
So you get the "Unknown command" message? It should be running /sg when you run that normally does it work? And sometimes I take more than a minute to answer xD
Iroh Everything works with CmdNPC, The same thing as what you made, but a plugin. Everything works but the command to open menus. Iroh When i do /sg it works, when the npc does it for me, it doesnt EDIT by Moderator: merged posts, please use the edit button instead of double posting.
And is /sg an alias for anything? There should be no difference between /sg from the npc and from you. Also you need denizen .3 that is .2 you aren't using the one I linked: http://ci.citizensnpcs.co/view/Add-ons/job/Denizen/