[FUN/RPG] S86 Powers v4.3.0 - Give players unique powers [1.5.2-R0.1]

Discussion in 'Archived: Plugin Releases' started by sirrus86, Jul 21, 2012.

  1. Offline


    S86 Powers is a plugin that allows server operators and admins to give players unique powers. (More info coming soon


    When S86 Powers is first loaded a config file will be created in your server's plugins/S86 Powers directory. This file will contain a database of players and beacons (more on that later). This file should never need to be directly edited; doing so may cause undesirable effects.

    Once the plugin is loaded for the first time, the player database will be empty. In order for players to have powers, they will first need powers assigned to them.

    The first thing you'll want to do is get a list of what powers are included. To do this, you can type the command /powers power.
    This will populate a full list of all powers in the power database. The powers are all color-coded by their type. Powers in yellow are passive perks. These are generally powers which trigger automatically under certain conditions. Powers in red are offensive abilities. These are powers which usually require a trigger and are primarily meant to damage an opponent in some way. Finally, powers in blue are defensive abilities. These powers also usually require a trigger, but are primarily meant to increase the user's chances of survival rather than hurt or hinder an opponent.

    Of course, knowing the name and type for a power doesn't help much, you need to know what it does. To get more detailed information on a power, you can use the command /powers info power [name]. For example, to see info on the power Acrobat, you would type the command /powers power acrobat, which would display this:
    This gives detailed information on the specified power. This information includes the full name of the power, the power's type, a description of what the power does, and a list of players currently using the power.

    Let's say for example a player on your server named sirrus86 has taken these steps already and has decided he really wants the Acrobat power. By default only server operators can actually set powers to players, so it's now up to you (assuming you're an operator) to assign the Acrobat power to sirrus86. Fortunately, this is done in a single command: /powers player sirrus86 acrobat.
    As you can see, sirrus86 didn't previously exist in the players database, so he was added to it automatically. He now has Acrobat set as his passive power.

    Chances are, even when following the above steps, sirrus86 won't be able to use Acrobat just yet. To prevent abuse, powers will only enable under a certain set of circumstances:
    • The player must have the permission node s86powers.enable set to true.
    • The player must be in survival mode
    Once these conditions are met, they're good to go.

    Powers can be added at any time to any player, however they may only have one passive, one offensive, and one defensive power at a time. Setting a new power to a player who already has a power of the same type will overwrite it. For example, after giving sirrus86 Acrobat, he changes his mind and decides he wants Diversion. You give him Diversion using the same command, /powers player sirrus86 diversion, but because it's also a passive power, Acrobat will be removed and replaced with Diversion. On the other hand, if sirrus86 decides he wants Pulse, he can have it and still retain his passive power.

    More Info

    The latest version of S86 Powers, as well as more info, can be found on BukkitDev.


    Got an idea for a power that isn't included? Send me a message, or leave a post below.
  2. Offline


    I have an idea: NightMaster: Is a power that permits you to kill but of 50 zombies in group by a blow, within a radius of 10 blocks, only in the night
  3. Offline


    Not a bad idea! I'll see about getting it implemented in a future version.

    Kill up to 50 zombies within a 10 block radius per hit? Sounds kinda overpowered don't ya think? :p
  4. Offline


    I'm having a bit of a problem, seems to be permissions-related.

    When I assign powers to people, none of them work until I do /powers toggle <player> <power>. For some reason they're off by default and I can't find a way to eliminate this option. When any player logs who's powers I have toggled enabled - the minute they log off, they powers toggle back to off.

    Even myself in admin group, this still happens. The only time everything works fine is when the player is set as OP.

    Anyone know of any solutions? Thanks.
  5. Offline


    This is a reported issue that's being corrected for v4.0 release. It only seems to affect servers that use Bukkit's default permissions interface. I can confirm that power toggling works correctly and defaults as true using PermissionsBukkit, PermissionsEx, and bPermissions.
  6. Offline


    Is it still possible to assign a second power from the same type with the 4.0 PR?
    The one that used to be /powers player <Player> <Power> -o.
  7. Offline


    Yes, but only with Beta. It was removed in Alpha in favor of permission-based assignments, but as some servers don't use permissions at all I reimplimented overrides to accomodate this. Overrides are also now infinite, no more ten power cap per type.

    Also the syntax is the same.
  8. Offline


    I'm having an error using your plugin on our server, we keep getting spammed with errors on the console

    1. 2012-12-16 16:33:47 [WARNING] [S86 Powers] Task #94 for S86 Powers v4.0.0-BETA generated an exception
    2. java.lang.NullPointerException
    3. at me.sirrus86.s86powers.powers.utils.PacketMaker.getNearbyPlayers(PacketMaker.java:123)
    4. at me.sirrus86.s86powers.powers.utils.PacketMaker.access$2(PacketMaker.java:120)
    5. at me.sirrus86.s86powers.powers.utils.PacketMaker$1.run(PacketMaker.java:57)
    6. at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
    7. at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    8. at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:530)
    9. at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
    10. at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:494)
    11. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    12. at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    It spams this continuously over and over, we've disabled Lycanthropy, Phasewalking, Tracker, Sonar and OanAlteration
  9. Offline


    Long story short, I just uploaded v4.0.0 release, which uses a different system for packets. It should correct this error.
  10. Offline


    Just made an account to talk with you!

    at first:
    i realy love this plugins, its my favorite one, he was on my last server, and its now on my actual server!
    i realy wanted to tell you thanks for this master plugin :)

    now the "not cool thing :/"
    actualy, its not working on my server, i put the .jar and normal file in /plugin, i can assign powers on people, or groupe correctly.
    but they just dont work, like aeroblade, absolutly nothing happens...
    should i remove all the kryptonyte on the floor :D (lol)

    so i'm looking for help :)

    and again, thanks you for this plugin!
  11. Offline


    Glad to hear you're enjoying the plugin so far!

    Aeroblade in particular requires it be toggled to work, on versions prior to v4.0.0-Beta this can be done by right-clicking while holding a feather. If other powers are not working let me know some info, such as the version you're using, what other plugins you're using, are there any errors, etc.
  12. Offline


    my plugins are essentials, lockette,playermarkers,s86_powers, snowballnextdoor,worldedit (not working totaly i dont know why), worldguard.
    i'm on 1.4.6 on server and client, and actualy, i have some probleme with a error message (se binarry stopped running)..propably a flash problem.
    i use:
    /powers player [player] [power]i tryed few powers, and none worked :/
  13. Offline


    Hi Sirrus, I'm fairly new to plugins, and I have a few plugins I like. I installed your plugin and thought, "OMG this is going to be epic!" and it is, but for some reason I assign myself a power but it says "You do not have Acrobat assigned to yourself." or something like that. I've tried editing the users.yml, but that doesn't work either. Please help me!
  14. Offline


    Some users have reported that since the most recent version assigning powers to non-op players doesn't seem to work. I'm going to look into this.
  15. Offline


    I'm the owner though, but it still doesn't work. Oh and by the way, thanks for the quick reply.
  16. Offline


    The "isn't assigned" message should only show up when you attempt to unset a power not already assigned to a player. What command are you using to assign a power to yourself?

    Also, I found out why powers don't work once assigned, I messed up some code with toggling. You can fix it with the command /powers toggle [power], or /powers toggle [power] [player] to toggle another player's powers for them.
  17. Offline


    I'm using /powers player [player] [power]. Any idea?
  18. Offline


    for me, none of this command work, and i dont know how to get the error message to post it here...
    only thing i found is on my web page server:
    29/12/12 15h58
    Could not pass event EntityChangeBlockEvent to WorldGuard v5.6.5
    29/12/12 15h52
    Error occurred while enabling S86 Powers (Is it up to date?)
    • • • Anciens problèmes potentiellement corrigés • • •
    29/12/12 15h51
    Error occurred while enabling S86 Powers (Is it up to date?)
    29/12/12 15h51
    [bPermissions] Please check config.yml to enable offline-mode use
    [bPermissions] Vérifier config.yml pour activer le mode offline
    29/12/12 15h04
    Could not pass event EntityChangeBlockEvent to WorldGuard v5.6.5
    i removed-bpermission today.
  19. Offline


    If you're on a 1.4.6 server make sure you're using S86 Powers v4.0.0 release (not alpha or beta) as the previous versions do not work with 1.4.6. Previous versions may load but will cause errors if you do anything with powers.

    Unfortunately without the full errors there isn't much I can tell you at this point.
  20. Offline


    Hmmm. I don't seem to get any errors in my console. Btw, I have PermissionsEx. Do you think that might be a problem or not?
  21. Offline


    My Hero!
    i didnt installed the good version, its was not the 4.0.0!!
    so i just tryed quicly, aero blade is okay, not pulse.
    but i will try all some of the powers!
    thanks you so much!!!
  22. Offline


    Hey, it's me again. I tested out your new version, but it still does the "You do not have Acrobat (or whatever) assigned". I tried toggling it after I just assigned it and it said toggling Acrobat off, but after waiting a while I tried toggling it again and it didn't work.
  23. Offline


    haw gawd i need halp!
    so, yes powers a great and work on me and op...
    but not on player :/
    so its maybe a stupid question but what should i write and in what folder, to make normal user use powers?
  24. Offline


    Hi sirrus
    Im loving this plugin at the moment as me and my friend have created a role play server and it fitted in perfectly.
    But im having some really annoying problems. The problem is is that no powers work for me but they work for my friends. I hope you could help me fix this
  25. Offline


    Hey. I installed s86 a couple of days ago on my server. Have been tweaking them to fit my needs. Something I havent been able to tweak fully as I want is superpowers. Ill give you an example:

    Endersoul has this config:

    blocking-drain-light-level: 8
    disable-normal-teleport: false
    blocking-drains-hunger: true
    teleport-cooldown: 2s
    [2spaces here]enderman-lifespan: 30s
    [2spaces here]maximum-enderman-pets: 2

    The superpower gets activated at lvl 30+ (but the endermen die immediately but thats not my problem currently, just some kind of other bug that I dont care about atm :p)

    Cookiestars has this config:

    damage: 1
    cooldown: 10t

    No superpower here by default. However I would like to add one if that is possible (this is my question)

    I have tried:

    damage: 1
    cooldown: 10t
    [2spaces here]cooldown: 2s
    [2spaces here]damage: 10

    Which I thought would work since I am only changing the parameters that are already available (cooldown and damage). But maybe it doesnt work since cookie stars arent supposed to have a superpower?
  26. Offline


    YES! It works! Thanks Sirrus!
  27. Offline


    still looking for the permission to let a player use a power and, someone help?
  28. Offline


    hoho, its now 4.0.1!
    there is no config files or anything else in the download link :eek:
    btw new powers look realy powerful...

    btw thanks for this update sirrus :)
  29. Offline


    Just a friendly reminder to those who don't know, I don't receive notification emails for posts on Bukkit Forums, so I apologize for my late response.

    Heh probably, PEx unintentionally screws over my plugin a little bit. The next update will have ways to fix that though.

    No problem!

    Weird... In any case, I think the answer to a lot of problems like this is my plugin is confusing itself with the several options of assigning and enabling powers (you can assign powers via commands or permissions, or groups, or group permissions, then you can toggle with toggle commands, or toggle permissions... all fun stuff). Again, the next update already has this addressed so hopefully it'll fix your problem. I'm working on getting it done ASAP!

    Might be the toggling bug. Just have the player try /powers toggle [power], or do /powers toggle [power] [player] for them.

    Might also be the toggling bug, see above.

    Your last sentence nailed it! The config options you're seeing are actually static options, so unfortunately adding options like that doesn't work. However, if you want certain powers to have additional options (like CookieStars having a shorter cooldown and greater damage as a superpower), I can add it into the power and it's added as an option when you run the next update.

    No problem! *high fives*

    Config files are coded to auto-update when you run a new version, so there's no need to repack them.
  30. Offline


    Ah ok. As I suspected :)
    Naaah. I might have too many suggestions and I dont want to get too involved. Already made an area with one room for EACH skill that you can buy for a certain amount of melons (redstone-wiring on a hunger games server where you win melons if you ... win). So I have already spent too much time on that alone...
    If you are curious I can take some screenshot of how it works.

    Short explanation:
    Redstone torch | repeater | empty spot for melon | repeater | empty spot for melon | repeater | Command block + wiring to pistons that destroy the placed melons

    Thanks for the reply though. The powers are much appreciated! (A few of them are bugged. Some are minor some are major. I'll see if I can comment on those when I have time).
  31. Offline


    Hi, your plugin is EPIC.
    One problem though.. I need to use PEX!
    We dont use OPs so we dont have the issue of having their issues with this permissions bug ive seen.
    I need to be able to give the pex groups powers through permissions.
    If not, how can i automate the groups thing in s86powers? It looks hard and i havent seen a guide

Share This Page