[INACTIVE][ADMN] Wandmin v0.35 - Easy command use [602-677]

Discussion in 'Inactive/Unsupported Plugins' started by NathanWolf, Jan 24, 2011.

  1. Offline


    Wandmin - Easy command use, with a "magic" wand

    The Wandmin plugin lets you bind any command to your wand. You can create multiple wands to create things organized.

    Grab elBukkit.zip to get all of my plugins- take out the ones you don't want.

    For more details on Wandmin, or for individual jar downloads, see the Wandmin wiki.

    If you really love this stuff, and you're feeling generous, I'd more than appreciate a donation.

    Go here if you're interested!

    View changelog on github
    Miome, Shadus, wOur and 1 other person like this.
  2. Offline


    <3 for granting my wishes, Nathan! :D

    Read about the settings in the previous post and yes, it might be a bit complicated, but running with many nice mods shouldn't piece a walk in the park. A server maintainer should be able to handle some settings, or at least have some brain. So yeah, nice of you to bring this back on track for me :D I will do some testing later after work.
    NathanWolf likes this.
  3. Offline


    Cool, glad you appreciate it! :) It wasn't too difficult, since I had branched the code, and Eclipse makes mass renaming / moving things really easy.

    I think that long-term I will have the two plugins interoperate if they're both installed. They could then use the same permissions, with a permission that specifies which wand system (if any) a player may use. Then, a console command to select which system is active. Should be doable.
  4. Offline


    can u please send the file in jar so i dont have to make it jar :(
  5. Offline


    It's linked as a jar- your browser is messing with you. Either use something other then IE, or just rename the files so that they have a .jar extension. If you have extensions hidden in Windows, you may have to turn them on.

    I don't know why this happens, but I don't think it's a problem on my end. Are you able to download other jars without this issue?
  6. Offline


    Great, thanks!
  7. Offline


    Wandmin Updated to 0.28

    Wandmin now uses and is compatible with the new Bukkit Command API.

    This means that Wandmin should work with any console command. If you find a plugin that Wandmin doesn't seem compatible with, please let me know!
  8. Offline


    I love the mod so much. It makes things soo easy. I was wondering if there was an easier way to cycle through wands though. typing wandmin next 8 times to get to a wand is a little taxing. Thanks[​IMG]
  9. Offline


    "/wandmin bind wandmin next" :)

  10. Offline


    Does it work on the new craftbukkit???
    I think its Ver:283 if not mistaken
  11. Offline


    Yes, it works for build 292 currently.

    Still love this plugin, Nathan ;)
  12. Offline


    ok. I tried it.. still a little confused. It just brings me to the next one in the list. How do I get there to be two active wands at the same time?
    --- merged: Feb 10, 2011 3:09 AM ---
    wait wait wait.. completely disregard that. I fixed it. Thanks so much. Again.. I love the mod :D
  13. Offline


    I've just downloaded your spells and this plugin, and I love them! Thank you! I especially love that the spells can be configured in the wand-commands.txt! :D

    Though I have encountered a couple of problems: Whenever I type "/wandmin next" on my second wand, which has no commands bound to it yet, I get disconnected from the server, and the peek spell doesn't work for me.

    Maybe this helps:
    # wand-commands.txt
    Dzyu:digger;explore:cast heal:cast blink:cast cushion:cast heal:cast arrow:cast day:cast recall:;digger:;
    I don't know what build of bukkit I am using. I downloaded it just a few hours ago.
  14. Offline


    Thanks! Now, though they can be configured that way, it's actually best to use the "bind" and "unbind" console commands- this prevents any typo type of issues with the file. Also, Wandmin is going to be data-driven soon, so editing the text file won't work much longer :)

    Eek! That sounds like an NPE or something.... it's possibly related to your manual file editing, but it should never do that, regardless. Thanks very much for this report, and for pasteing your wand-commands - I should be able to reproduce this and fix it easily. In the meantime, I suggest you delete wand-commands and start fresh using "/wand bind" - see if that gets you going?

    I think I broke peek when I implemented window :) I need to fix that....

    Wandmin should be fine with a pretty old version of Bukkit.
    --- merged: Feb 12, 2011 2:52 PM ---
    Oh, BTW- For all Wandmin users who are only using this to use non-Spells commands (and not because you hate the Wand UI... ;))

    Soon as the Spells variant system is complete, there will be a CommandSpell. You'll be able to use this spell as the basis for any number of "spell variants", the parameters of which will be a console command + parameters, much like a Wandmin binding.

    This means the best of both worlds (and an as-of-yet-undiscovered world, in fact)- you can use the new Wand UI, and you can use it with any console command.

    And, once it's there in the variant system, you'll be able to assign cooldowns, casting costs, and all sorts of other "spelly" type properties to that command, if you want.

    Looking forward to it, myself! :D
  15. Offline


    A feature request — different command depends on what player is aiming at.
  16. Offline


    Interesting- I'll think about it, but prolly not, at least not for Wandmin- I'd like to keep this plugin very simple.
  17. Offline


    Can you give an advice on what plugin to use then?

    The point is — free users from necessity to type slash commands.

    here're just examples:
    execute "/cprivate" (LWC) when you use a stick on a chest
    execute "/ps" to create protected block when you holding a golden sword
    execute "/wormhole compass" command ([TP] Wormhole X-Treme) when you "use" your compass to set it to the nearest Stargate

    execute "/help" command when you "use" a book to get help

  18. Offline


    Hm... this is the kind of thing that would make for some really cool Wand functionality... so, assuming I do this, go check out the Wand thread- I'll make a post there WRT what this might look like.
  19. Offline


    I will, thank you!
  20. Offline


    Hm... by the way... reading this, though I got excited, I'm not really seeing that you need any new functionality for these use cases...

    Just bind your wand to those three commands, right-click to cycle, left-click to cast. I mean, it'd be cool to have "cprivate" happen automatically when pointing at a chest, but basically in the new system you'd have to set up a spell just for that, I imagine- or a general "protect" spell, at the very best, that can do a couple of different kinds of protection commands depending on what you're pointing at.

    But, really, what you're asking for is very complex and would take me a long time to put together- and you don't really need it.

    If your lists of commands start getting unweildy, divide them up into different wands, and bind each wand with "/wandmin next". This lets you cycle through spells in a wand, and also change wands, without ever leaving the console.

    Before Wand became Wandmin, I used to have about 4 wands on my "real" (not dev) player- one for exploration, one for mining, etc. Nearly all of these were just Spells, but a couple were commands from General, back when I was still using that.

    It works really well, it's a great system, and that's basically why I don't want to touch it :)

    Once you've got this setup, the idea is certainly that you never have to use the console again, unless you need something with parameters or that kind of thing.

    So, I think you might be there already- maybe take a closer look? :D
    --- merged: Feb 17, 2011 2:57 PM ---
    NP! Though, check my advice above- it may be a long wait for that new Wand/Spells tech ;)

    (unfortunately... as a player, I want it now!)
  21. Offline


    Sounds good for an internal help system too — you take a book ("wand"), browse pages ("cycle") and then read it ("cast"). That makes books more useful..
  22. Offline


    exactly what i was doing!

  23. Offline


  24. Offline


    Ahhhh.... see default-wands in the properties file :D

    (uh... I think it still has that, right?)
    --- merged: Feb 21, 2011 4:17 PM ---

    Uh.... wow! Genius! :D

    I always love seeing creative uses of my plugin ;)
  25. Offline

    Max Black

    What craftbukkit builds does this work on? I've tried most of the builds 1-35 but they all return:
    SEVERE: Could not load plugins/wandmin.jar in plugins: null
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:79)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.NoSuchMethodException: com.elmakers.mine.bukkit.plugins.wandmin.WandminPlugin.<init>(org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plugin.PluginDescriptionFile, java.io.File, java.io.File, java.lang.ClassLoader)
            at java.lang.Class.getConstructor0(Class.java:2723)
            at java.lang.Class.getConstructor(Class.java:1674)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
  26. Offline


    The lowest CB build I support is always in each of my thread titles, like it should be for all plugin threads.
  27. Offline

    Max Black

    Agreed, though not all the plugins work with the most recent builds :/
    And how does the that correlate with the new build system? Are the builds 1-54 actually 301-354?
    Sorry the new system threw me off a bit, I preferred the old build browser.
  28. Offline


    From what I can tell, 1-54 are 1-54. I'm hoping they promote a higher build# soon.
  29. Offline


    I didn't actually ever edit the file. I originally wrote something about wishing I COULD edit a file to make it easier since "/wand bind" is a bit unwieldy, as a feature request, but then I discovered that it looked like it was possible. Haven't actually tried... :p

    The next wand command works fine as long as I bind some commands to the new wand. If I leave it empty, that's when it happens, so most players won't experience it, and I haven't tried to see if it persists since I stopped leaving new wands empty. Hope this helps. :)
  30. Offline


    So, if I have both this and Wand, how do I control if I cast a command or a spell?

Share This Page