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 6, 2013@DuffstersATL
@segenchacker
Version 4.0.0 has a bug where powers start toggled off and must be toggled on to function. Try having the player do /powers toggle [power] (or you can do this for them with /powers toggle [power] [player]). As an alternative, version 4.0.1 has this bug fixed I believe.
@FateMC
As DuffstersATL stated you can use beacons to neutralize areas. The upcoming version will reimpliment region protection however, which may be more what you're looking for.
-
View User Profile
-
Send Message
Posted Jan 5, 2013Yeah I have this problem too with all powers..! Phasewalk was just an example :)
-
View User Profile
-
Send Message
Posted Jan 5, 2013@segenchacker
I'm having the same problem but with other powers too..
-
View User Profile
-
Send Message
Posted Jan 4, 2013Hey
I was using the S86powers a long time up to now but since the 4.0 the plugin just doesn't work anymore
Ingame it sais that I've got the power (i.e."phasewalk") but if I for example right click lapis lazuli I neither speed up nor get invisible
But it was always a great plugin, thank you :)
-
View User Profile
-
Send Message
Posted Jan 4, 2013@FateMC
Put a redstone torch on a block of lapis and a lever on the side. Try turning the lever on and off. It blocks powers, I forgot what it is called.. Basically, just put them up around your spawn. :D If it doesn't work, then idk.
-
View User Profile
-
Send Message
Posted Jan 3, 2013Thanks so much. Do these powers work on protected region defined areas? For example locustswarm, what if my donator used it in spawn and every block turned to silverfish? Or hellfire where lava is placed, would it work on protected areas? I really don't want my spawn to be griefed :p
-
View User Profile
-
Send Message
Posted Jan 3, 2013For some strange reason no one can seem to use their powers.. No errors show up in console so I tried reinstalling the plugin. Even after reinstalling, no one can use their powers. Could it be a conflict with other plugins that may be causing this?
-
View User Profile
-
Send Message
Posted Jan 3, 2013@FateMC
By default, when a player's powers are set, they can only have one offense, one defense, and one passive power set. Players that are opped or have s86powers.admin are the only ones who can bypass this restriction using the /powers player [player] [power] -o command. As far as what powers they can assign to themselves, it's any that are loaded and enabled basically, but by default they can't assign more than three at one time.
@ehwllmac
Elite powers by default require a player possess at least two required powers and be level 50 or above. They aren't directly assignable.
-
View User Profile
-
Send Message
Posted Jan 3, 2013hey, the elite powers wont work for me, it says that I already have this power or power type is incompatible...
-
View User Profile
-
Send Message
Posted Jan 3, 2013So would my donator have to type the toggle command every time he wants to switch to another power? Also, the power.set.self permission, it doesn't give them permission to set all abilities to themselves right, only the ones they have like use.hellfire, am I correct?
Basically, all I want to know is what command my players should use to switch between powers since they don't stack.
-
View User Profile
-
Send Message
Posted Jan 3, 2013@FateMC
Sorry for the late response, I'm glad to hear you're enjoying the plugin so far!
First of all, any player must have s86powers.enable true to use powers, however this is true by default so this is only a problem if you've turned it off intentionally.
Second, players must be in survival to use powers.
Third, they must have the power toggled on. Version 4.0.0 of my plugin has a bug where powers are toggled off by default, this can be fixed with the command /powers toggle [power] [player].
If none of these work let me know. Also, to allow a player to set their own powers, just give them the permission node s86powers.player.set.self.
@Heliouse @DannyChad
Sounds like you're both using PermissionsEx! If you're using PermissionsEx and give anyone the * or even s86powers.* permission, they will be able to use EVERY power. Permission-based powers don't show up as assigned in the database and can't be unset in the same fashion. To fix this you have a few options:
In the next update I intend to implement a feature where permission-based power assignments can be disabled, which would allow users of PEx to not have to worry about this.
@tommycake50
Glad you think so! I'll keep ya informed.
-
View User Profile
-
Send Message
Posted Jan 3, 2013@sirrus86
great! this is really a great plugin, the idea that is.
-
View User Profile
-
Send Message
Posted Jan 3, 2013I am having an issue that I seem to have all of the powers (the ones that I know) but In the database it says I have no powers. When I set other people to survival they have no powers and I can give them powers and they don't have them all. I have tried using both 1.4.6 releases and the same error. Thanks for reading!
-
View User Profile
-
Send Message
Posted Jan 3, 2013I am having a small issue where every single person in the server seems to have every single power activated at once and I can't seem to disable it. Whenever I check each person, it showed they have no powers. It is rather frightening.
-
View User Profile
-
Send Message
Posted Jan 1, 2013Hey Sirrus!
I really enjoy the features of this plugin, and it's definitely a great way to provide players abilities/perks. I tried some of these powers myself using the following command: /powers power (myself) (power) and I really enjoyed using them. I tried adding one of the abilities to one of my donators through that command in-game, and it seemed not to work. I then came onto here to look at the comment section, and realized I needed to add him the following permission node: s86powers.use.(power). I've tried that, and well it didn't work. Is there another certain permission node / command I must perform for it to enable on him? Also, I'd like to give him several abilities, so how would I go about doing that? Is there a permission node that allows him to do /powers player (himself) (power) himself to alternate between his different powers? Thank you very much, and hope that I can get a reply soon.
-
View User Profile
-
Send Message
Posted Jan 1, 2013@No1Griffster
Yep, just give them the permission s86powers.use.[power]. Or once v4.0.2 is done you can create a group, assign powers to it, then give permission s86powers.groups.[group].
-
View User Profile
-
Send Message
Posted Jan 1, 2013Instead of trudging through commands, /powerplayer player power for each power, each time someone gets ranked up or donates, can I assign powers in permissions???
-
View User Profile
-
Send Message
Posted Dec 31, 2012@tommycake50
I'm glad you asked this actually. I'm still making a few tweaks here and there, the hope being once it's all under control it'll be easy for any developer to make their own powers. In fact the upcoming update is almost exclusively a rework of some of the config coding, which does play a part in loaded powers.
Once this is done some of the methods inherited in the power classes themselves will change a bit. The hope (as it always is) is increased efficiency. Soon as this is done I'll get started on making a tutorial for developers to make their own powers.
-
View User Profile
-
Send Message
Posted Dec 31, 2012since its a power loading plugin is there an official tutorial on how to create powers. i mean i kinda get it from looking at the github source but im kinda clueless. unless it wasnt intended for just anyone to make powers. but your project is really well layed out and everything you have everything under the sun apart from like a little section on creating powers. like not even examples just what all the methods do and what methods to implement. and how powers are managed. y'know what i mean.
-
View User Profile
-
Send Message
Posted Dec 31, 2012@n33dy1
For ONCE can't you post something positive? *cries*
...Yeah yeah I'll look into it.