ForceField
Each force field can now have multiple owners! The owner that placed the force field is the only one with the power to add and remove owners. They can also change the owner. Every owner can walk through the force field.
ForceField now supports Factions. If a player is in a faction when they create a force field then the admin of the faction is automatically set as the original owner. If the only owner is the faction then anyone in that faction can go through. If any owners are added then only those players can go through a force field. When a player joins a faction all their force fields come under control of the faction.
By placing diamond, iron, gold, or emerald blocks plus zero or more extensions players can create force fields that other players cannot walk through. Once one of these blocks is placed and a player right clicks on it with a diamond sword it becomes the base for a force field generator. Players can then add up to 6 additional blocks on the faces in order to increase the range of the force field. The force field is formed as a cube with each block contributing to the radius of the cube from the base.
Diamond blocks default set at 10. configurable
Gold blocks add default set at 5. configurable
Iron blocks add default set at 3. configurable
Emerald blocks add default set at 7. configurable
The item needed to create a force field is now configurable. Default to diamond sword.
The ability to blown up force fields is now configurable. Default to true.
Explosions do not destroy blocks inside a force field unless the explosion would have destroyed the base of the force field. In this situation the explosion would have the normal area of effect. Mobs and players can still be killed by an explosion inside a force field.
configurable. If boomDampe is true then it cancels explosions. otherwise it doesn't. Default is true.
If a player walks into a force field that did not create it, lightning will strike but won't do damage.
Spherical force fields will be created if enabled in the config. In the config if cube: true the force fields will be cubes. cube: false will make them spherical.
Force fields will be prevented from being created if the force field would intersect another force field. The creation of extensions is also limited in this way. Force fields also are forced to be created with at least one space in between force fields so players can't completely block of spawns.
Permissions:
forcefield.reload:
description: Allows a player to reload ForceField.
default: false
forcefield.create:
description: Allows players to create forcefields.
default: true
forcefield.destroy:
description: Allows players to destroy forcefields.
default: true
forcefield.use:
description: Allows players to build or destroy forcefields.
children:
forcefield.create: true
forcefield.destroy: true
forcefield.server:
description: Allows server related forcefield actions.
default: false
forcefield.bypass:
description: Allow player to walk through anyone's forcefield.
default: false
forcefield.throughserver:
description: Allow players to walk through server forcefields.
default: true
forcefield.*:
description: Grants a user all ForceField permissions.
children:
forcefield.reload: true
forcefield.use: true
forcefield.server: true
forcefield.throughserver: true
Commands:
forcefield:
description: Allows access to ForceField commands.
aliases: force
usage: |
/forcefield reload - Reloads ForceField config
/forcefield who - Lists the owners of the force field that you are in.
/forcefield add [player] - Adds an owner to the force field that you are in.
/forcefield remove [player] - Removes an owner from the force field you are in.
/forcefield change [player] - Changes owner to the specified player. Doesn't work in Faction mode.
/forcefield list - Shows a list of all your force fields.
permission: forcefield.reload
permission-message: You don't have permission to do that.
Default Config:
diamond: 10
emerald: 7
gold: 5
iron: 3
boomDampen: true
cube: true
forceFieldTool: 276
boomDestroy: true
Delete the old config.yml to get the new one with all the potion effects listed. By default they are all disabled. Just uncomment each effect that you want to be applied to players when they are inside a force field.
If any of these don't appear in your config.yml add them manually or delete your config.yml and the default one will be created.
To Do List (in no particular order):
I'm open to any other suggestions as well!
Known Bugs:
All players in a force field gain the potion effects even if they aren't owner. (Fixed in next release.)
how do u get the force field to activate? very unclear instructions other then placing a block and rightclicking with diamond sword...
any chance of player limitation so they can only make so many of these, and perhaps something like "fuel" to keep them running? for example a player can make forcefield.limit.n (default 2) forcefields. each day servertime midday it itterates through the list of forcefields and removes config.fuel.id from a (chest?) in the design or within say 5 blocks of the source block if not found then either make it inactive or destroy the blocks and put the blocks in the chest (players should have locked it with some kind of prevention) so if they dont keep the fuel supplied the system self-deletes. at the moment players could dot these all over a world as a form of grief and/or lock off areas of the world that wont expire.
I liked the old version better. The one where you just powered clay blocks.
I need help with changing the config. I wanted to change the radius of the forcefield of each block (diamond, iron, etc.). So I tried to change Gold to 20, but when I reload/start the server, it remakes the config file to what it was before. Is there a specific way to change the config file? could you maybe explain how to? thanks!
@soysuva
Is it actually broken though? Or does it still work?
do u think u can make it so instead of bedrock it does something like glass n can u also make it so it doesnt like other mobs through
why cant i change any of the setting ?
@soysuva
I'll work on this over the summer when I get some spare time.
please update to 1.5.1 please! Seems like an awesome plugin, but can't use it.
Hoe can i select i forcefield, if i type /forcefielde add (player name) He says you're not in a forcefield
i think this plugin could be way better than the factions plugin
the annoying thing about factions is that it uses so much commands
is this project inactive? i hope not, if it would be updated and have a few more features i would so love to use this
i have a few suggestions:
an option to allow forcefields to overlap, so you can claim a bigger area which doesnt have to be a cuboid or anything
also complete control over weather you can walk through forcefields, use/break/place blocks and weather things like tnt/ghasts/pistons/waterflow can destroy/enter the blocks inside the forcefield
but well i cant have anything : (
i guess i go install that borring fagtions plugin now -.-
Feed the beast has a mod with much more powerful force feilds named mffs. Use that instead of tekkit, its better and updated. I have a few suggestions i would like to see in this plugin: -make force fields only block one way, so you cant glitch through and get stuck -make force fields require a prefix or rank to get through. I reallly want to add donor only areas on my raid server, like automated farms and social hubs. If you add this, i will use it on my server and im sure many others will for similar reasons. -make force feilds placable by commands only (configurable). Players wont be making force fiekfd on my server, admins will.
Preventing /homeing and /tping into a force field would also be cool.
@jeff_chiyu
I'm fairly certain that the version of Minecraft that Tekkit is on doesn't have Emeralds. That is where the problem arises. So either update to a more current version of Craftbukkit or live without this plugin.
@jeff_chiyu
What version of craftbukkit are you running?
Plugin is crashing for me. Have tried a couple different versions of the plugin. Using current tekkit server as well. I can place an emerald block down and right click it, diamond, iron etc, and the same message. Any ideas?
I love this plugin - I especially like the lightning and bedrock effect, heheh :)
idk it would be cool if you have a feature where you can only go through one side of forcefield but not the other
@Ghost129er
Mobs are entirely unaffected by this plugin for the moment at least.
What happened to the old one that killed mobs! That was perfect! :O Is there anyway this kills mobs or something???
Ghost
@kuroimachina
Well how about that. I will fix this.