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 Mar 21, 2013Does this plugin support EssentialsGroupManager because before around 1.4 time, this plugin was giving me a hard time like powers weren't working even for OPs or it would be on and off. -Thank you
-
View User Profile
-
Send Message
Posted Mar 19, 2013That helped me a lot! Thank you very much and keep up the good work!!
-
View User Profile
-
Send Message
Posted Mar 19, 2013Per power permissions:
"s86powers.use.[power tag]"
so for example...
"s86powers.use.Acrobat" will allow the player with that permission to use Acrobat, even if they aren't assigned it using the "/powers player [player] [power]" command.
Also make sure "permission-based-powers" is set to true in the config!
...(beware of PEx)
-
View User Profile
-
Send Message
Posted Mar 18, 2013How can you add these Powers in the Races plugin? Does each power have an own permission node? Can you give an example please, or do you have something else to show me / help me?
Very cool plugin besides that, really!
-
View User Profile
-
Send Message
Posted Mar 17, 2013@Vapor_Lock
I'll look into it.
@hi11279
No, I just took what work had been done and updated it for MC 1.5. It's not backwards compatible.
-
View User Profile
-
Send Message
Posted Mar 17, 2013Did you fix lag issues in this update? And is this compatible with 1.4.7? thx.
-
View User Profile
-
Send Message
Posted Mar 14, 2013Powers regions don't protect against powers
-
View User Profile
-
Send Message
Posted Mar 13, 2013Okay, good. Because I was getting a lot of lag too, and I just blamed myself because I'm a terrible server manager. lol.
-
View User Profile
-
Send Message
Posted Mar 11, 2013@Faldonboy
Alright so that means the task causing the problem is from the plugin core and not any of the powers, which is good because there's only maybe two tasks outside the power files so it should be easy to fix. I'll take a look.
-
View User Profile
-
Send Message
Posted Mar 10, 2013@sirrus86
Unfortunately that isn't working, s86 says the task is invalid or unused but Nolagg is insisting that it is the correct task.
-
View User Profile
-
Send Message
Posted Mar 10, 2013@sirrus86
The bats are flying in upside-down form it looks weird!
-
View User Profile
-
Send Message
Posted Mar 10, 2013@Faldonboy
You can determine which power uses task 78 with the command /powers debug gettask 78, that'll tell you (and in turn, me) which power is actually causing the lag. The task numbers change each time you start or reload the server, and each power uses its own task so by your description only one of the powers is causing the issue.
-
View User Profile
-
Send Message
Posted Mar 10, 2013Last three versions cause horrible lag that I can't ignore anymore, had to remove the plugin sadly. I use this plugin to make MobArena classes more interesting/useful so it isn't constantly being used but its always(according to Nolagg) using a TON of resources on Task #78(98% of what s86powers is doing is in Task #78) Even turning most of the powers off(only have 27 powers loaded) doesn't help, its constantly sucking up server resources.
Edit: Its not just the last three versions, its all 4 1.4.7 builds.
-
View User Profile
-
Send Message
Posted Mar 10, 2013@Vapor_Lock
Yeah, using your permissions plugin just set the permission s86powers.enable to false for any worlds you want powers disabled in.
@karatepancake
Oh no! Hanging bats! I'm on it!
-
View User Profile
-
Send Message
Posted Mar 9, 2013Vampire bats are in hanging up side down form! Please fix this!
-
View User Profile
-
Send Message
Posted Mar 9, 2013Also, is there a way to disable powers in certain worlds? Thanks.
-
View User Profile
-
Send Message
Posted Mar 7, 2013@sirrus86
Nice! That sounds like it'd work really well. *Fistbump*
-
View User Profile
-
Send Message
Posted Mar 6, 2013@Vapor_Lock
Yeah that's one of the areas I haven't tested much, when players go from using a power to not being able ot use or not having said power. I'm having some powers catch when this happens to deactivate the power properly, but some have the quirk you mentioned.
In most cases, you can use /powers power [power] -r to reload it.
-
View User Profile
-
Send Message
Posted Mar 6, 2013There is a bug where if you are in some sort of state (aka pig form but there are many others) and you switch powers or gamemodes. It will constantly spam you with "You return to human form" or some things like that.
-
View User Profile
-
Send Message
Posted Mar 6, 2013@TotalPotato
I appreciate your understanding.
I did some work on Celestial Pillars and managed to get something closer to what was intended. First of all the pillars are now fake blocks, so no more free glowstone. Entities are no longer bounced back but instead moved back to their previous location, this only causes jittering if the entity continues to try moving in that same direction. Players can get stuck if they jump into the barrier, and because the client anticipates movement some entities look like they're moving through the barrier when they actually aren't. Otherwise seems to work more like you requested... *fistbump*