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 Feb 7, 2013@TeamCataract
Glad I could help!
@UrNowKoed
You got it.
@KamJam99
What's this? A compliment that isn't followed by a request or demand? Is it my birthday?? Glad you're enjoying the plugin!
-
View User Profile
-
Send Message
Posted Feb 7, 2013Sirrus, I know you have been having alot of problems lately and stuff like that, but this plugin is just so cool! I love it; I made my self really OP, with things like Brawler, Supercharged, Acrobat, Reflexes... I love it so much!
-
View User Profile
-
Send Message
Posted Feb 6, 2013Could you possibly put something in the config to turn off the hunger regen from bulwark? My players are using it with their friends to easily refill their hunger bar.
-
View User Profile
-
Send Message
Posted Feb 4, 2013:O
I did not know that.
Well that should settle that. You are the best!
-
View User Profile
-
Send Message
Posted Feb 4, 2013@hi11279
Yes it would I believe. As PEx sets everything to true by default, you could set certain nodes to false to filter out what's actually set. Keep in mind you'd have to do this with every group created however...
@icerevanant
Go into plugins/S86 Powers/config.yml and under configs set display-loaded-powers to true. Now restart the server and watch the console. It should list every power it can find as it's loaded. Tell me what it shows.
@TeamCataract
Regions are chunk-based so you're looking at a minimum 16x16 area anyway. You can also turn beacon range down with the range option, for example /powers power NeutralizerBeacon -o range 10.0 would reduce the radius to 10 instead of the default 50.
@SirJaws
Actually that's a pretty cool idea! I could make it a little more intuitive though, like /powers kit [player] where it would give useful items that match all of the player's powers, or /powers kit [player] [power] to give items only useful for that power. As for permissions, I'll probably just have it useable only by ops or those with the s86powers.admin permission.
-
View User Profile
-
Send Message
Posted Feb 4, 2013@sirrus86:
I know that you are busy and all, but I have a question. Is there any way that you could put powers into a kit loading deal. Like /powers kit Brawler player and that gives you powers and items like the power Brawler and a few potions of strength. Again, I know your busy, but if you can do this, it would make it somewhat easier, especially for servers like mine which are hunger game servers. Thanks for your time. (If you can do this with permissions, PM me. I am not to good with them ATM. Thanks!)
-
View User Profile
-
Send Message
Posted Feb 3, 2013Okay, I'll mess around with the regions a little more and hopefully I can get something worked out. The neutralizer beacons do work but their range is too big for this tiny arena. Thanks again.
-
View User Profile
-
Send Message
Posted Feb 3, 2013did you put everything in the archive into your plugins folder? that might be it.
-
View User Profile
-
Send Message
Posted Feb 3, 2013Another problem. -.- It sorta worked. I got the plugin to cooperate to the point where commands actually worked. But now the powers say they aren't there.
-
View User Profile
-
Send Message
Posted Feb 3, 2013So in pex could I do like, for example, if I have the * permission and and I have a group named "fighter", could I do - -s86powers.groups.fighter would it disable that group for me? Sorry, I suck at PEx......
-
View User Profile
-
Send Message
Posted Feb 3, 2013@hi11279
It will still work, however you're going to run into a similar problem as before: While using PEx, anyone opped or with the * permission will be considered to belong to EVERY group created (again, because PEx seeks out every node and sets it true). To avoid this, go into the same config file as before, and under groups set permission-based-groups to false. Then you'd have to manually add players to the group one by one. Unfortunately I can't think of any alternative to this...
@TeamCataract
Yeah I've got the Godspeed errors fixed for v4.1.4. If any one error is found in a power, I take some time to look over the entire code for it. In this case, Godspeed had about three errors.
Regions should be working. I reworked some code so that it no longer changes permissions, but now sets a flag to false for a given player. Ops may be able to bypass this, however I was opped when I tested it and it worked fine. Try building a Neutralizer Beacon (lapis block with a lever on the side and a redstone torch on top) and see if that works.
@karatepancake
Actually turning into a bat is a superpower effect of Vampirism. By default, anyone with Vampirism at or above level 30 and right-click with rose red dye to change into a bat.
-
View User Profile
-
Send Message
Posted Feb 2, 2013Could you make the Vampirism have the ability to turn you into a bat?
-
View User Profile
-
Send Message
Posted Feb 2, 2013I was wondering why the glowstone blocks were doing that lol. Well I'm glad you are aware, whenever someone with any powers (even if they don't have godspeed) disconnects, the console flares up with non-stop errors regarding that. (now seems to mention Task#64 and #1635 though it still mentions godspeed)
While I'm in here, are regions working? I want to region off the PvP-arena to prevent power use but it seems it does not prevent power usage even when the "entering a neutralized zone, your powers are disabled" message appears. I should mention I have not set up permissions for this server yet, so are the effects of regions based on a permission? I just want to check if I'm missing a step or something is broken.
-
View User Profile
-
Send Message
Posted Feb 2, 2013So you said that I can disable permissions based powers, will that make it so I can't use groups in PEx, like s86powers.groups.[group] or will it still work?
-
View User Profile
-
Send Message
Posted Feb 2, 2013@icerevanant
Heh not really, it's hard-coded to save new users as they're added. The "Saving database..." message only shows up if the save was successful.
-
View User Profile
-
Send Message
Posted Feb 2, 2013When I was adding powers the player user names didn't save to the database. Any help?
-
View User Profile
-
Send Message
Posted Feb 2, 2013@hi11279
Yeah there's a few ways to do that. First you need to create a group with the power with a command like /powers group [group] Brawler Next you can either assign players to the group using /powers player [player] -g [group], or give them the permission s86powers.groups.[group] (for example, you can assign this permission to a group in your PEx config file, so people promoted to that group automatically get that power).
I have had one person report that groups aren't working at the moment, but try it and let me know if that works.
@RandomSomething98
The best way to globally disable powers in a world is to use permissions. Set the node s86powers.enable to false for that world, and power use will be disabled.
-
View User Profile
-
Send Message
Posted Feb 2, 2013Is there a way currently to disable this plugin while in certain worlds? I don't want people using powers like volatility or bloodbend in my Survival Games world. :P
-
View User Profile
-
Send Message
Posted Feb 1, 2013Thanks, and is there any way to give powers automatically with pEx? I am trying to create a group that gives the brawler power, but I want it to do it automatically instead of in game, help? (Btw thanks for being an awesome plugin manager!) :)
-
View User Profile
-
Send Message
Posted Feb 1, 2013@Carambaz
Ah don't worry about it, I enjoy helping people.
@hi11279
This is actually an issue common with users of PermissionsEx. Unlike other permissions plugins, being opped or giving yourself the * permission makes PEx actually seek out permission nodes and set them all true. The only fix used to be to either refrain from using wildcards in permissions or switch permissions plugins.
Fortunately, in a recent version I added a config option to disable permission-based power assignments. Stop the server, go into the plugins/S86 Powers/config.yml file, and under powers set permission-based-powers to false. Next I'd recommend deleting the users.yml file as it may have added you as assigned all powers. Once these are done, start the server again and you should be good.