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 22, 2013Hi! I've tried this plugin many times before and my console starts getting error spam after a while of using it. Today I logged into console because people said there was lag. I wanted to see what was up and was welcomed to a 16 megabyte size logfile and I saw the error in console. I stopped, removed the plugin and restarted the server. Below are the 2 spammed errors. The first one occurred for about 25% of the logfile and the second was, which is basically the first line of the first error, occurred for about 50% of the logfile.
Error 1:
Error 2
Can you please help me out with this? I really love your plugin and really want my users to have access to it but can't keep it with this error eating up the logfile and cpu. I run on 16 gigs RAM and that hovers around 10 gigs at all times but when the error is there, CPU is running 50% and up. Currently only I, the server owner, and another admin had powers assigned so it really can't be overuse by the members.
Thank you, I truly appreciate your work on this plugin. It is amazing!
-
View User Profile
-
Send Message
Posted Feb 21, 2013@n33dy1
Another person reported this earlier as well. I'll take a look.
-
View User Profile
-
Send Message
Posted Feb 20, 2013Please add a cooldown to Power Ring's pulse thingy. People keep spamming it to grief players or get free emeralds. If I set it to consume 1 emerald, the honest players run out after a while and emeralds are hard to find on my server.
-
View User Profile
-
Send Message
Posted Feb 19, 2013@TeamCataract
Ahh! Thank you! :D
-
View User Profile
-
Send Message
Posted Feb 19, 2013@Palkia1208
It's crafted by placing any type of sword in the center surrounded by either snowballs (Sharp I) or snow blocks (Sharp III), on a 3x3 crafting grid.
I plan to add the crafting recipes to the PowersDB page (if anyone actually looks at that lol), thanks for the feedback ^-^
-
View User Profile
-
Send Message
Posted Feb 19, 2013I have a question 0: Is polarblade working? I tried using a gold sword and combining it with snowballs and snow blocks and nothing works. I did set the power on myself and it didn't work. What can I do? :[
-
View User Profile
-
Send Message
Posted Feb 19, 2013@SuperVegitoRay
Glad to hear you're enjoying the plugin so far! I'll take a look into FireEater, see if I can't have it fixed for v4.1.5.
-
View User Profile
-
Send Message
Posted Feb 19, 2013Most powers are working excellently, my players seem to enjoy them. There's only one problem that a few don't like, its that FireEater doesn't work.
-
View User Profile
-
Send Message
Posted Feb 16, 2013@DuffstersATL
Yeah it's a similar issue to what FSCarver had, it happens when the user of a power disconnects and the plugin keeps trying to find that player. I'm in the process of fixing that for v4.1.5.
-
View User Profile
-
Send Message
Posted Feb 16, 2013Keeps spamming console.. 2013-02-16 15:36:10 [WARNING] [S86 Powers] Task #28 for S86 Powers v4.1.3 generated an exception java.lang.NullPointerException at me.sirrus86.s86powers.powers.users.PowerUser.allowPower(PowerUser.java:148) at powers.defense.Godspeed$1.run(Godspeed.java:52) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
-
View User Profile
-
Send Message
Posted Feb 16, 2013@FSCarver
I'm going to try and put an end to these errors once and for all.
I'm currently in the process of checking all task code in the plugin, which should stop the spam messages such as the one below.
-
View User Profile
-
Send Message
Posted Feb 16, 2013Kept spamming my console when I left
2013-02-16 17:19:58 [WARNING] [S86 Powers] Task #63 for S86 Powers v4.1.4 generated an exception java.lang.NullPointerException
-
View User Profile
-
Send Message
Posted Feb 14, 2013@FSCarver
Doesn't surprise me, Power Ring wasn't created with a cooldown, it just prevents you from using it again if another shot is active. I'll see what I can do to get this fixed in the next update, otherwise it could be a heck of an exploit.
@TeamCataract
Alright sounds good, and thanks for the feedback!
@Bydon
I haven't tested this with BukkitForge, I'll look into it sometime in the future when I have time.
-
View User Profile
-
Send Message
Posted Feb 14, 2013Is this compatible with with BukkitForge? I installed it but none of the powers are in the databse, ive tried deleting the powers pack and reloading but nothing.
-
View User Profile
-
Send Message
Posted Feb 14, 2013Congratulations on your milestone!! This plugin gives a great variety of gameplay thanks to all those powers you've created. Though it may not look it, I'm sure admins and players alike are thanking you for this unique minecraft experience.
Well done. ^-^b
As for my server.. I'm afraid it's still not live. It was supposed to launch 2 weeks ago but my team seems to have run out of steam for building haha. We are expecting to get it done this weekend. I'll be sure to let you know the information when it's ready.
-
View User Profile
-
Send Message
Posted Feb 14, 2013I tried the Pulse shot from Power Ring, and it created a bunch of emerald blocks around me that do not go away by themselves.
It seems to happen if you use the power too quick between shots.
(take your time fixing it, if it is a bug)
-
View User Profile
-
Send Message
Posted Feb 14, 2013@pknull
Heh nah, I just looked at the code, I accidentally had the dodge chance multiply by 100 before displaying what it was... It may say 1900% but your players are only getting 19%. I'll have it fixed for the next update.
-
View User Profile
-
Send Message
Posted Feb 14, 2013I have a strange issue with the Dodge power. I can't tell if the math is off or the result is just cast wrong but players are getting 1900% dodge chance. It's making this power seem absurdly overpowered :D
-
View User Profile
-
Send Message
Posted Feb 13, 2013@sirrus86
That fixed it.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@n33dy1
Try deleting the S86_PowerPack.jar file, then restart the server. Sounds like it's failing to update the file.