[INACTIVE][ADMN] Superpowers (aka adminmode) v0.8 - fly/hover, instant block break, killing,.. [860]

Discussion in 'Inactive/Unsupported Plugins' started by Waterwolf, Mar 29, 2011.

  1. Offline

    Waterwolf

    Superpowers (or adminmode)
    Version: v0.8

    If flying is the only thing you want from plugin, consider using Weasel512's Wings as it has more features for flying.

    Superpowers allows you to easily get a couple of super powers to easily catch hacking griefers or just fly around for lulz.

    Features:
    • Allows you to enable/disable super powers for yourself
    • Super powers are flying when holding down shift, instant block breaking, automatic but optional temporary glowstone creation when it's night (aka flashlight), unlimited health and instant mob/player killing
    • Every placed glowstone is automatically detected so getting free glowstone is only possible if server crashes on wrong moment and even then player will only get two glowstone dusts.
    • Allows you to quickly spawn items/colored wool
    #860 download: http://dl.dropbox.com/u/18458187/bukkit/SuperPowers.jar


    Source is inside jar in same folder as class files.

    Command to toggle superpowers on/off is "/superpowers" or "/sp" or "sp playername" in console. To return back to where you toggled superpowers on use "/sp tpback"

    Permissions nodes:
    superpowers.use for /superpowers or /sp
    superpowers.fly for flying
    superpowers.instabreak for instant block breaking
    superpowers.instakill for instant player/mob killing
    superpowers.infinitehp for no health losses
    superpowers.glow for automatic glowstone
    superpowers.itemspawn for item spawning commands

    If no permissions plugin found, it will default to ops.txt

    Commands:
    /sp or /superpowers - Toggle superpowers on/
    /listsp - List players using superpowers
    /setflyspeed flySpeedMultiplier - ("2.0" is 2x walking speed at least in theory) Sets your flying speed to the given multiplier
    /spitem itemname amount playerToGiveTo - Spawns item name. Amount and playerToGiveTo are optional
    /spwool dyecolor amount - Spawns colored wool
    /tfly - Enables/Disables flying for you
    /thp - Enables/Disables infinite hp for you
    /tbreak - Enables/Disables instant block breaking for you
    /tkill - Enables/Disables instant killing for you
    /tglow - Enables/Disables automatic glowstone placement for you

    Changelog:
    Version 0.8
    • Hopefully fixed flying thread killed bug (synchronizations)
    • Fixed /tbreak (was fixed in 0.75)
    Version 0.7
    • Added commands for toggling each ability on/off
    • Better hovering + toggling to hover mode (hold feather in hand to hover now)
    • /toggleglow -> /tglow
    Show Spoiler

    Version 0.6
    • Fixed outdated player instance bug (aka no flying/glowstone after using nether portal)
    • Permission nodes for each ability. Command line superpowering grants every ability except item spawning
    Version 0.5
    • /spitem and /spwool
    Version 0.4
    • Ability to change flying multiplier and glowstone placing per user
    • Hovering mode. To toggle between hovering and flying, right click on air while holding an item (bow won't toggle it).
    • New commands:
    • "/toggleglow" which toggles glowstone placing on/off (default is off). Takes no arguments
    • "/setflyspeed flySpeedMultiplier" sets your flying speed multiplier to this. "2.0" means you fly 2x faster than walking speed is (in theory). The limits are 0.5-7.0 and you should've never go past that.
    Version 0.3

    • Superpowers can be toggled from console (use "sp namehere" and remember to disable it for them :p)
    • It no longer saves inventory and location so it no longer returns player back there on using command again
    • Optional returning to location where sp was toggled on (use "/sp tpback" ingame or "sp namehere tpback" on console)
    • Command to list users with superpowers enabled ("/listsp" ingame and "listsp" on console)
    • Glowstone is placed on "Flyer" scheduler instead of PLAYER_MOVE which should make everything smoother
    • A console message in onEnable() that tells you that flying on 617 won't work :p
    Version 0.2

    • Permissions support (permissions node is "superpowers.use")
    • Player flying is now scheduled which should make flying more stable
    • Player quit event is hooked so if player quits his superpower will be removed
    Version 0.1

    • Releasing my awesome plugin
     
    Jessy80, gmore70, DimsenJonas and 2 others like this.
  2. Offline

    Uncbean101

    [quote="Fixed that in v0.6[/quote]
    I re-downloaded it in case I didn't have the latest (I use bukkit plugin updater and it found a new one the other day) installed and reloaded it, it works perfectly as you say! Again, thanks for this one, I use it all the time!
     
  3. Yay ty so much me and my bro now can fly around our server
    AND BE GOD
     
  4. Offline

    Veka

    How do you turn on one hit K.O./instakill?
     
  5. Offline

    Fujikatoma

    Can u make a Config file wehere the Block break can turned off ?
    Or better ... a Ingame command :)
     
  6. Offline

    Uncbean101

    Noticed the other day that if two or more people go to the Nether, flying is disabled. I have to re-start the server to re-enable it, and as soon as two or more enter the Nether, flying is no longer available. Any ideas why? (Flying is the easiest way to get around the Nether)
    Edit: I should explain that flying becomes disabled in both worlds, we have discovered that upon return to the overworld we still cannot fly unless we restart the server.
     
  7. Offline

    Waterwolf

    It's enabled by default when you use /sp.

    Added to v0.7 which I just published.

    Can you use /spdebug command the next time this happens and tell me what it says. I added the command because the same actually happened on a server I play on but I had no idea what's wrong.
     
  8. Im having a problem, i get kicked out of the server, because fly aint allowed. Im using 819 and essentials, worldedit and worldguard. I dont know, if its the server protection or a plugin one.
     
  9. Offline

    Waterwolf

    Set allow-flight to true in server.properties.
     
  10. Offline

    mansl

    Can't put instant break off. Really annoing.
     
  11. Offline

    Waterwolf

    I put a quick fix that should fix it. Redownload please.
     
  12. Offline

    Uncbean101

    [quote="Can you use /spdebug command the next time this happens and tell me what it says. I added the command because the same actually happened on a server I play on but I had no idea what's wrong.[/quote]

    I used that command last night, it aid an error had occurred, /reload plugins, which I did, and it worked.
    Here is what the server log said:
    2011-06-09 20:44:58 [WARNING] Task of 'SuperPowers' generated an exception
    java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at wolf.superpowers.SuperPowers$Flyer.run(SuperPowers.java:455)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
    Waterwolf likes this.
  13. Offline

    dietwawa

    it wont let me disable break ;(
     
  14. My flying isn't working :(
     
  15. Offline

    Waterwolf

    Thanks for the stacktrace! I'm pretty sure it will help me get rid of flying suddenly stopping for good.

    Try redownloading. I added it to version 0.75 (which I never updated to OP though)

    Yeah I'm hoping to get that fixed.[/quote]

    Edit: v0.8 published and the ConcurrentModificationException thing hopefully fixed.
     
  16. Offline

    lolpop3

    How to fly?
     
  17. Offline

    Bobbertly

    How are you supposed to make it so that only admins/ops/mods can fly?
     
  18. I can't get flying to work properly. :( I can enable all other functions and use them but when I press Shift character just keep moving forward (without holding W) with greater speed. And it is also possible to auto enable these powers for each player when he/she log in? Thanks for reply.
     
  19. Offline

    TheRivanKing

    Awesome Mod but whenever i fly to long the server crashes and says its not allowed by the server but i cant find where to change it in the server options
     
  20. Offline

    firewalled

    I am still on CB#819 (818), and SP 0.8 doesn't work. Do you have a version that works for the previous versions of CB?
    I get this error:
    Code:
    22:39:49 [SEVERE] Error occurred while enabling SuperPowers v0.8 (Is it up to date?): PLAYER_PORTAL
    java.lang.NoSuchFieldError: PLAYER_PORTAL
            at wolf.superpowers.SuperPowers.onEnable(SuperPowers.java:87)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    The plugin seems to load though.
     
  21. Offline

    minecraftfilip

    when i write /tfly it doesnt say anything.. please help
     
  22. Offline

    JSMinecraft

    Hmm ok, I love this plugin it's epic. But how do I make it that the users can use /superpowers and just be able to fly, nothing else. Like they can't instabreak or kill or anything else... Just fly...
    I put superpowers.fly but that doesnt allow then to use /superpowers. So i give them superpowers.use but that gives them all of the powers...
     
  23. Offline

    samknash222

    Hi! I think your plug in is awesome and it's become an essential one for me, but I used to be able to break bedrock in 1 hit with superpowers turned on but now I can't.....everything else still breaks in one hit.......Can you help me? Running craftbukkti build 926 and mod version 0.8.
     
  24. Offline

    Chance.D

    does it work for 1.7.2 yet?
     
  25. Offline

    Xlaits

    Try the [inactive] plugin, FallProtect.
     
  26. Offline

    miceiken

    Any chance of multiworld support? I run 2 worlds on my server, 1 creative and 1 survival. If you activate superpowers in creative you can bring it with you to survival.
     
  27. Offline

    Waterwolf

    Hold shift while having enabled superpowers.

    Add superpowers.use and superpowers.fly to their permissions and make sure they use /sp command before even trying to fly.

    Try to aim to sky and see if anything happens. That sounds like a weird bug though. Yeah I'll consider the auto-enabling even though it means I have to add a layer of persistency.

    Thanks :p.Hmm, it should be the "allow-flight" in server.properties in your bukkit folder.

    Unfortunately I don't want to support older versions because it's too much work for too little profit. It should work even with stack trace appearing at start-up though.

    It only works if you have enabled your superpower already (using /sp, /spo or /superpowers)

    Hmm it should work and has worked for others. I'll go double check the code after posting this.

    Actually I use bukkit's way of enabling block instabreakage therefore I can not affect what instabreaks and what
    doesn't. I'll consider moving to my own version though where I can decide what can be instabreaked.

    It should.

    I'll consider that.
     
  28. Offline

    Bobbertly

    other players can use zombe's modpack to fly though :\
     
  29. Offline

    Jackezz

    I can't fly at all with the feather, I can though fly without it. Barely. Seems like the gravity pulls to much, and I'd like to be able to stand still in the sky, mostly to build larger buildings and other awesome stuff, but I can't do it, because I'm constantly falling and the feather doesn't seem to work. Or am I doing something wrong?
     
  30. Offline

    noahwhygodwhy

    does this work with 953?
     
  31. Offline

    Deses12

    Yes.
     

Share This Page