S86 Powers
Introduction
Minecraft is a great game on its own, but chances are if you're here and you're a server admin then you're looking for more to offer your clients. As you may know by now, when it comes to the extras every player wants something unique. Some want new mechanics, others want better weapons. Some want to help their friends, others want to dominate them. The problem is most plugins often offer a blanket solution. While it may fulfill the needs of a few, the remaining may not want to participate. Sure you can mess with permissions to exclude some people, but why not just cut to the chase and give every player EXACTLY what they want?
For the server that wants its players to each have individual benefits and abilities, S86 Powers is the plugin for you.
How It Works
S86 Powers is a plugin that allows users to have powers assigned to them. The core plugin comes with internal powers, but is also capable of importing powers made by others (more info to come).
To get started, simply place the S86Powers.jar file where you put your other plugins. Note that ProtocolLib is required for S86 Powers to function. On first run, several configuration files are created with default values. It is recommended that you not edit these files directly unless the server is off, as entered values may be overwritten the next time the server shuts down or restarts.
Next, you'll want to review permissions and configuration options. Operators by default get permission to everything, otherwise assigning the permission s86powers.admin will accomplish the same thing. To view configuration options, use the command /p config list [page#] (for example, /p config list 2 shows you page 2). For more information on what an option does, use the command /p config info [config], and to change config options use the command /p config set [config] [value].
Finally, for players to use powers they must first have them assigned, and before they can do that they'll want to know what's available. Use the command /p power list to get a list of loaded powers, then /p power [power] for more info on a specific power. If you don't like how a power is setup, you can check and set its configurable options with /p power [power] option. Note that changes to power options affect all users, and may require a server reload/restart for changes to take effect.
Players can be assigned powers in several ways, the two most prominent being admin-assigned or self-assigned. Admin-assigned requires a user with the s86powers.manage.user permission to use the command /p user [player] add [power]. Note that the above permission allows the user to set anyone's powers and shouldn't be given to most players. Self-assigned requires a user to have the s86powers.manage.self permission, and use the command /p add [power]. This method is safer, as the user can only modify their own powers.
What Are Powers?
Most powers come in three categories: offensive, defensive, and passive. Offensive and defensive powers operate similarly: the player does something with a specified item, and it causes an effect. Offensive powers usually do something that causes damage to others, while defensive powers usually do something to protect the player in some way. Passive powers tend to work automatically and provide some kind of bonus that neither hurts others nor protects the player (though there are exceptions).
An example of an offensive power is Laser. In its default configuration, left-clicking while holding a dispenser will fire a laser in the direction that the player is looking. This laser steadily does damage to anything it hits but uses redstone dust as fuel. The laser turns off when either the player left-clicks while holding a dispenser again, or when the player runs out of redstone dust. After using Laser, the player has to wait for a 10 second cooldown before using it again.
An example of a defensive power is Celestial Pillars. Left-clicking the ground while holding a sea lantern will create pillars of light around you. While these pillars stand, nothing can pass between the pillars except for the player. Pillars last for 45 seconds, however the player can't create new ones until the old ones expire.
An example of a passive power is Lumberjack. With Lumberjack assigned, breaking one log block of a tree with an axe will cause all adjacent tree blocks to break as well, essentially harvesting the entire tree at once. By default, a threshold is put in place so players can't level entire jungles.
Some powers have additional effects when they're used a lot. For example, after creating 60 pillars with the Celestial Pillars power, you gain the ability to create a second set of pillars by left-clicking the same block with a sea lantern again.
By default, players can only have one of each of the above power types assigned to them, though this limit can be removed with config options.
The last power type is utility. Utility powers can be used by anyone, including players with no assigned powers. Neutralizer Grenade allows players to throw lapis lazuli like a grenade, temporarily disabling the powers of any players nearby when it hits. Neutralizer Beacon allows players to create a block that constantly disables the powers of players who go near it.
Commands / Permissions
All commands can be viewed by simply using the /powers help command. You can view additional pages using /powers help [page], or view help on specific topics like /powers help player.
Donate
Creating and maintaining a plugin this size can be a full-time job on its own. I enjoy working on this plugin and don't mind doing it for free, but the fact remains that I must commit a majority of my free time to do this. If you like my work and would like to support it, please consider donating.
Need support? Have an idea for a power? Join my Discord server!
-
View User Profile
-
Send Message
Posted Jan 17, 2013I'm not sure what is causing it but non of the powers work, i have the power pack in properly since they are listed when I type /p power. Also when I make a group for some reason its made twice and players in the group are there twice
-
View User Profile
-
Send Message
Posted Jan 14, 2013@sirrus86
I didn't try alot of them but it also happened with laser but with laser it continued after death so constantly killed them and i guess it applies to all the ranged abilities but throw items
-
View User Profile
-
Send Message
Posted Jan 13, 2013@FSCarver
I'll see what I can do.
@TotalPotato
I looked at Geomancer, and indeed there was a coding oversight that caused thrown blocks to hit the thrower. What other powers are causing this?
-
View User Profile
-
Send Message
Posted Jan 13, 2013I'm using 4.1.0 and bukkit beta, the powers work but kill the user instead, eg the Geomancer one, whenever they try to use the ability they hit themselves instead
-
View User Profile
-
Send Message
Posted Jan 13, 2013So about Phasewalk again, any chance there can be a warning a few seconds before it destabilizes?
-
View User Profile
-
Send Message
Posted Jan 13, 2013@knightfallx66
Nah, I'm not blaming you, I've received the same error when testing. I can tell by looking at it that it's a runnable task error. The only thing I'd suggest is maybe disabling powers one by one, but for one it'd be tedious, and for another the error may not even reproduce.
In either case I'm doing a once over on my code to make sure exceptions are less common for v4.1.1.
-
View User Profile
-
Send Message
Posted Jan 12, 2013@sirrus86
I would try and provide more context, but I can't be sure of what causes the error...
-
View User Profile
-
Send Message
Posted Jan 12, 2013I just wanted to tell you that the plug-in works fine since the latest update; thank you!
Yours segenchacker
-
View User Profile
-
Send Message
Posted Jan 12, 2013@knightfallx66
The error doesn't give me enough information to determine what specifically is causing it, however I am aware of another issue causing errors in v4.1.0 that is being addressed. I'll get it uploaded as soon as I can.
-
View User Profile
-
Send Message
Posted Jan 12, 2013I keep getting spammed with errors that look like this --
" 2:04:20 PM [WARNING] [S86 Powers] Task #50 for S86 Powers v4.1.0 generated an exception 2:04:20 PM [WARNING] [S86 Powers] Task #50 for S86 Powers v4.1.0 generated an exception 2:04:20 PM [WARNING] [S86 Powers] Task #50 for S86 Powers v4.1.0 generated an exception "
Any idea what it is?
-
View User Profile
-
Send Message
Posted Jan 11, 2013Thnx for replying, Yes, it was set to true, and it still wont work :S
I will sent you a pm with Some of the errors
-
View User Profile
-
Send Message
Posted Jan 11, 2013@FSCarver
Probably an oversight when I recoded the powers for v4.0. I'll see about adding an option, in case some prefer the new way.
@xTrainx
For permission-based powers, go into the plugins/S86 Powers folder and look in the config.yml file. Under the powers section there should be an option that says "permission-based-powers". Make sure this is set as true, then reload the plugin. Let me know if this doesn't fix it.
As for the errors, by all means send me any errors you can from the console and I'll try to get em fixed for the next version.
-
View User Profile
-
Send Message
Posted Jan 11, 2013Hey, nice to see you updated, and added the region Stuff too, thaks :D
i kinda have a problem now, Powers given via permissions doesn't seem to work, even for OPs, after installing 4.1.0.
Also, Since updating to 4.1.0, Server console have been throwing errors for powers. All seems to be erros that could not be passed to powers
What should i do? D:
-
View User Profile
-
Send Message
Posted Jan 11, 2013@sirrus86
thanks :D
-
View User Profile
-
Send Message
Posted Jan 11, 2013With the 3.X versions, Phasewalk only consumed lapis lazuli (one piece per second) once the one minute had expired, until there was no more lapis to consume.
With the 4.X versions it consumes lapis when activating Phasewalk, and after the time has run out.
Could it be changed so that the consumption of lapis only happens after the maximum amount of time runs out, instead of both upon activation and the latter?
-
View User Profile
-
Send Message
Posted Jan 11, 2013@CoasterCrazy
Yeah just tested Molotov and figured out the problem: the default item assigned is fire charge, not blaze powder as the description explains. Fortunately you can change it to blaze powder using the command /powers power molotov -o item 377, then reload the power with /powers power molotov -r.
-
View User Profile
-
Send Message
Posted Jan 11, 2013Hi!
Awesome mod! For some reason, Molotov power wont work for me. The others I've tried work fine. Would you mind checking to see if it works on your end or if its only me?
Thank you!
-
View User Profile
-
Send Message
Posted Jan 9, 2013Okay thank you!
So I'm gonna' wait for the new version :-)
-
View User Profile
-
Send Message
Posted Jan 8, 2013@segenchacker
Ah, my bad... I know you mentioned you've used my plugin in the past, but just to recap, for any powers to work the player must 1) have the power assigned via commands or permissions, 2) have permission s86powers.enable = true, and 3) have the power toggled on. Assuming you have all of these, I'm honestly not sure, though part of that system is being reworked for version 4.1.0 which should be finished soon, so hopefully that may fix your problem.
The other plugins you listed shouldn't be causing any conflicts to my knowledge. Usually the plugins that cause problems are stuff like AntiCheat and NoCheat, as they flag some of the stuff you can do with powers as cheating and prevent them from working properly.
-
View User Profile
-
Send Message
Posted Jan 7, 2013@sirrius86
Thank you for the reply, BUT:
I have already the newest version running and if I type in the commands, the console tells me that the powers NOW get turned off. I have already re-installed the plug-in several times but it still doesn't work :/
Could it be that Other plug-ins cause that s86 isn't working? (I've got: World Guard, World Edit, Essentials, Multiverse Core and Punishmental)
I am looking forward to hearing from you. :) Segenchacker