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 Oct 5, 2012@Si7VdeR
Stuff like cooldowns and passive triggers are definitely possible. I'm currently rebuilding the powers from scratch, the new method I'm using will allow additional options to be added later should they be requested.
The "omg feathers everywhere" bug has been around since AeroBlade was first made. I've tried to fix it several times but it still shows up once in awhile. Hopefully (doubtfully) I'll have it fixed for v4.0.
-
View User Profile
-
Send Message
Posted Oct 5, 2012@Si7VdeR
If I understand corrrectly, the upcoming version should have what you're asking for. As for aeroblade, personally I wouldnt use that power until the update as it LOVES to bug out. Droping feathers everywhere and making areas constantly push you back. of course I'm running this plugin on quite a large server so everything is strained a bit. on a medium-small servers compared to what we have here shouldnt mave too much problems.
-
View User Profile
-
Send Message
Posted Oct 5, 2012ARGH UGH I LOVE THIS.
Okay now I have to be serious. I need some help or maybe its not even possible but then they are requests.
I have a custom server with many special things in it and I would love to add these Powers like passives to people wich they can earn by doing quests but the thing is that most of these Powers are too strong.
I would like there to be cooldowns on them or a % that it can occur.
For example the AeroBlade or Eldruin are very nice except that it is too strong I would love it to occur every 10 hits or 10% chance or maybe even put a 20s cooldown on it.
Do you think this is possible ?
Btw another side question: AeroBlade is dropping around 2 stacks of feathers when they hit an enemy is this server sided bug or do I need to fix something ? (Maybe some tips on what could cause this would be nice)
Thanks for reading and being helpfull !
-
View User Profile
-
Send Message
Posted Oct 4, 2012@n33dy1
When you use the command '/powers power <power>' to lookup a power there should be a list of users whom have the power assigned to them. This doesn't show people with the power permission however.
@LazarusVec
Sounds like Diversion except you can trigger it... I like it, I'll add it to the list.
-
View User Profile
-
Send Message
Posted Oct 4, 2012Hi im back :P I just thought maybe something to add to the list later after V4 is out and the other requests are done. From borderlands 2 zero's action skill so you make a decoy become invisible then your next attack does lots of damage. Thanks :D
-
View User Profile
-
Send Message
Posted Oct 3, 2012Can you add a command to let us lookup who all has a certain power?
Kind of how you can see the powers a player has, but instead you see what players have a power.
-
View User Profile
-
Send Message
Posted Sep 28, 2012@sirrus86
lol, I am in no way attacking him, I'm just pointing out the magnificent relevance of his username.
-
View User Profile
-
Send Message
Posted Sep 28, 2012@kodama6
In his defense he did donate...
I'm working on it! I promise!
-
View User Profile
-
Send Message
Posted Sep 28, 2012@n33dy1
Finally! He couldn't update his own plugin until you gave him permission to do so, so THANK YOU. I'm sure he was waiting on someone to tell him he could update his plugin, and the rate he must do so. You, sir, are a godsend.
-
View User Profile
-
Send Message
Posted Sep 28, 2012So... feel free to make a release with just the bug fixes and a few new powers so long as the next release comes within a couple days after with more powers and you get regular at this again. :)
-
View User Profile
-
Send Message
Posted Sep 26, 2012@jazzman170
SpawnCrafter - So breaking one spawner is giving you five? Yeah it's definitely not supposed to do that, the power is in no way supposed to duplicate spawners.
I'm glad you mentioned this too, one of the planned improvements to SpawnCrafter was allowing users to create spawners, but I can see how it could easily destroy part of a server's economy. If I do add this I'll include an option to disable it.
-
View User Profile
-
Send Message
Posted Sep 25, 2012was just playing with the "Spawn Crafter" power and i like it a lot. The only issue i see arising with it is it will destroy the economy for set spawners due to you can place your zombie spawner and break it to get 5 more and rinse/repeat and you have infinite of any spawner you want. This is a big problem in my case cause since i have never handed out spawners on my server in over the year i have ran it, introducing this power would mean the players would love me even more. However since i run a very strict non admin spawned items server, in game money is a very useful thing on my server. So this power allows my users to have a bunch of new things to sell/buy however there's no config option to make it only drop 1 spawner per spawner mined. Could you add this option?
And as always, Thanks for your hard work! I'll be donating sometime soon to show my support :)
-
View User Profile
-
Send Message
Posted Sep 25, 2012@jazzman170
Mortar - I'll have to look at that, possibly an oversight.
Soul Shatter - Ah gotcha. I'm assuming it doesn't kill a player in god mode, just affects them? Unfortunately this would require an event cancel check each time damage is caused, which could add up. I'll see what I can do. And yes, many powers still affect allies, I intend to implement Factions support in the future.
@n33dy1
You will get nothing and like it! Just kidding, it's getting close to completion... well, the core plugin is anyway.
@jazzman170
Diversion - You sure can!
-
View User Profile
-
Send Message
Posted Sep 25, 2012i noticed diversion doesnt have a cooldown option, can we get this added? Players are too godlike because the moment they come back from 10 seconds of being invisible, their skill is ready to use again. Not very balanced yet ^_^
-
View User Profile
-
Send Message
Posted Sep 24, 2012New powers and a cool release plz. :) Any ETA?
-
View User Profile
-
Send Message
Posted Sep 24, 2012@sirrus86
Bulwark: I'll wait for v.4.0 update for this one then :)
CookieRain: Would greatly appreciate adding a cooldown option!
Master Sword: Would be very nice to configure how many items it eats upon use :3
Mortar: Skill doesnt allow me to change the amount of obsidian it consumes and also, it still isnt eating obsidian at all. Players just need a single obsidian and can spam it as many times as they want with that single obsidian.
Mob Hunter - epic skill so ill gladly wait for v4.0 :)
photosynthesis: Healing is just too godlike in the day. PVP battles would be super unbalanced with this due to that person can never die :( Would greatly appreciate being able to change how many hearts healed per tic/time.
Pre Emptive - adjusting it with something along the lines of "Max Damage: 6" would be a good config so people can configure the max amount of dmg it does. In the above case, would do 3 hearts of damage to a player with a critical hit. Also a cooldown option so players cant spam critical hits.
Soul Shatter - not creative mode, but in god mode from essentials. If it does so in god mode then im sure my peaceful members from factions can get damaged too, which isnt a good thing in my case :(
Water Barrier - ya this one's healing doesnt work. A config rate for healing, and/or cooldown would be perfect for when it is fixed :D
Thanks for taking your time for bug fixing and i greatly appreciate your time and effort on this plugin :) I run a survival pvp server and allow my users to buy these skills so most of the ones listed above i cant sell to them until they are more balanced.
-
View User Profile
-
Send Message
Posted Sep 24, 2012@sirrus86
"Soul Shatter - You mean it kills people in creative? That's... not supposed to happen." I think what he's refering to is /god from either commandbook or some other plugin. Bloodbend also bypasses godmode, not a huge deal because it cant really kill you.
-
View User Profile
-
Send Message
Posted Sep 24, 2012@jazzman170
Bulwark - There's an option in pConfig for "hunger-reduction-rate", you can put something like 10t or 1t to have hunger reduce more often than once per second, but depending on the scheduler I used it may only go as low as 1s. v4.0 won't have this issue.
Cookie Rain - There's no option in pConfig for cooldown, probably why it didn't work. I'll see about adding the option in v4.0.
Master Sword - As many powers do, this power consumes one item per use.The cooldown of 5t is simply to prevent spam when the user holds down attack while targetting a block. If you want it to consume more than one item per use, I can add this in v4.0.
Mob Hunter - Looks like I never added pConfig options to this... Again, will be fixed in v4.0.
Mortar - If I remember right Mortar is triggered by obsidian but consumes fire charges.
Photosynthesis - Power works the opposite of Dark Regen, depending on light level you can regen faster. Problem is direct sunlight is always 15, so regen is always quick outside. I'll add some options.
Pre Emptive - What you're witnessing is the potential of an under-appreciated power :P But yes I'll add some config options.
Soul Shatter - You mean it kills people in creative? That's... not supposed to happen.
Water Barrier - I've heard the healing effect hasn't been working. I'll check on it.
When referring to levels, the plugin uses the player's level in-game, the same system used for enchanting.
-
View User Profile
-
Send Message
Posted Sep 23, 2012epic plugin but im having issues with these skills. Care to let me know if any of this is already possible or can it be possible? Some of these skills are simply over powered and i cant use them :/
skills that need adjusting: bulwarks (setting to make it eat more food when blocking?)
cookie rain (the cooldown doesnt seem to work. set at 72000t for 1 test and 5m for another test. Cookies always drop regardless.)
MasterSword (ask about consumption rate since theres no option for it)
MobHunter (dmg amount configurable? i take 0 dmg from all mobs and no spot to configure amount)
Mortar (able to spam it and it doesnt eat obsidian like it should)
Photosynthesis (generate health/hunger WAY too fast (during day). any way to lower it a LOT? )
Preemptive (critical hits do INSTA KILL instead of only double dmg...(to players))
Soul Shatter (epic, but bypasses godmode! )
Water Barrier (works but doesnt heal me in water)
On another note, how do you lvl up skills? I noticed [lvl 30+] blablah skill does this.
-
View User Profile
-
Send Message
Posted Sep 23, 2012@Humanfiend
Actually according to the recorded metrics Acrobat has steadily remained the number one power... But El'druin is definitely one of my favorites.
The phantom item entity bug has been ongoing. Powers like CookieStars created "kill spots" because the thrown cookies would still damage entities even after being collected. I'm going to add some additional checks in v4.0 to hopefully stop this bug once and for all.