FBasics Plugin 1.7.2

Updated: May 27, 2015 | 383 views |

FBasics ? Factions glitch patches & more!

http://img.niceminecraft.net/BukkitPlugin/FBasics.png

Information

I have looked everywhere to try and block all the glitches for my factions server, but I found none! So I thought I may as well be the first to make a proper plugin to patch it all, it does also have a few other nifty features which factions servers benefit from a lot. All features can be disabled / enabled from within the config!

FBasics includes

  • Teleportation glitch patches within liquids
  • Teleportation glitch patches from height
  • Teleportation glitch patches from other blocks
  • Repair cooldowns glitch patches
  • Advanced player listing
  • PermissionsEx safe promotion glitch patch (Makes sure user was in previous group before promoting)
  • Vote command
  • Wilderness command ? Factions support! (Will only teleport to wilderness)
  • Incredibly highly configurable, almost anything you can change!
  • Ability to disable Allied Factions from attacking eachother (friendlyfire)

Configuration

  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317

#
# FBasics - Additions to Factions servers!
# Written by Sudzzy
#

# There is a fair few bugs to take care of when
# running a Factions server alongside Essentials.
# This goes through and patches them all. If you
# come across more glitches involved with
# Factions, I may well fix them! :)
glitchpatches:
  # This will prevent the listed Essentials' TP
  # commands whilst a player is in a liquid, this
  # should prevent them from being able to abuse
  # Essentials' safeteleport to glitch into bases
  liquid:
    # Should this feature be enabled?
    enabled: true
    # What commands should be blocked whilst a
    # the player is in a liquid?
    commands:
      - sethome
      - esethome
      - createhome
      - ecreatehome
      - tpahere
      - etpahere
      - etpaccept
      - tpyes
      - tpahere
      - etpahere
  # This will prevent the listed Essentials' TP
  # commands whilst a player is too high, this
  # should prevent them from being able to abuse
  # Essentials' safeteleport to glitch into bases
  toohigh:
    # Should this feature be enabled?
    enabled: true
    # At what height should we disable this?
    # Warning: Only change if you know what you
    # are doing! (This height is perfect as it
    # is to stop glitching for a normal world)
    height: 255
    # What commands should be blocked whilst a
    # the player is above the set height?
    commands:
      - sethome
      - esethome
      - createhome
      - ecreatehome
      - tpahere
      - etpahere
      - etpaccept
      - tpyes
      - tpahere
      - etpahere
  # Similar to liquid block, but allows you to
  # block commands whilst a player is inside a
  # certain block which can be affected by Essentials'
  # safe teleport.
  inblock:
    # Should this feature be enabled?
    enabled: true
    # Which blocks should the player be in to prevent
    # the listed commands below? List of materials:
    # http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
    blocks:
      - SAPLING
      - POWERED_RAIL
      - DETECTOR_RAIL
      - LONG_GRASS
      - DEAD_BUSH
      - YELLOW_FLOWER
      - RED_ROSE
      - BROWN_MUSHROOM
      - RED_MUSHROOM
      - SEEDS
      - SNOW
      - SUGAR_CANE_BLOCK
      - CARPET
      - WOODEN_DOOR
      - IRON_DOOR_BLOCK
      - SIGN_POST
      - WALL_SIGN
      - CROPS
      - CACTUS
      - CAKE_BLOCK
      - BED_BLOCK
      - REDSTONE_WIRE
      - REDSTONE_TORCH_OFF
      - REDSTONE_TORCH_ON
      - DIODE_BLOCK_OFF
      - DIODE_BLOCK_ON
      - DOUBLE_STEP
      - TORCH
      - RAILS
      - LADDER
      - WOOD_STAIRS
      - COBBLESTONE_STAIRS
      - LEVER
      - STONE_BUTTON
      - FURNACE
      - DISPENSER
      - PUMPKIN
      - JACK_O_LANTERN
      - WOOD_PLATE
      - STONE_PLATE
      - PISTON_STICKY_BASE
      - PISTON_BASE
      - IRON_FENCE
      - THIN_GLASS
      - TRAP_DOOR
      - FENCE
      - FENCE_GATE
      - NETHER_FENCE
      - FIRE
      - PUMPKIN_STEM
      - MELON_STEM
    # Which commands should be blocked whilst the
    # player is in a block listed above?
    commands:
      - sethome
      - esethome
      - createhome
      - ecreatehome
      - tpahere
      - etpahere
      - etpaccept
      - tpyes
      - tpahere
      - etpahere
  # This will disable multiple arguments to
  # Essentials' /repair command, as they can
  # be abused to bypass cooldowns set by
  # the plugin boosCooldowns
  repair:
    # Should this feature be enabled?
    enabled: true
    # What commands should be limited to
    # no arguments?
    commands:
      - repair
      - erepair
      - fix
      - efix

# Additional options to change how the
# plugin Factions works.
factions:
  # Should we prevent allied factions from
  # being able to hit eachother?
  friendlyfire:
    enabled: true

# This will give you a list of the players
# on the server.
#
# Usage: /list
#
list:
  # Should this feature be enabled?
  enabled: true
  # These are the messages to be sent to the player
  # whom initiated the command. This plugin supports
  # all colour codes you put in, and can be found here:
  # http://minecraft.gamepedia.com/Formatting_codes
  # 
  # If you want to use this /list command instead of
  # Essentials' and you don't like that white message
  # saying: /list [group] whenever you try to do /list
  # You can fix this by removing these lines in Essentials'
  # plugin.yml:
  # list:
  #   description: List all online players.
  #   usage: /<command> [group]
  #   aliases: [elist,online,eonline,playerlist,eplayerlist,plist,eplist,who,ewho]
  # 
  # To find the plugin.yml, open Essentials.jar with WinRar
  # or 7zip
  messages:
    - '&4==(Online Players)=='
    - '&6There are &e[%allplayers%/%maxplayers%] &6players online.'
    - '&6Online staff: &e%staff%'
    - '&6Online donors: &e[%intdonors%/%maxplayers%]'
  # These are the specified ranks that you would
  # like to list, add this permission to these ranks:
  # FBasic.rank.[rankname]
  # 
  # e.g. for staff:
  # FBasic.rank.staff
  #
  # You are able to list the specific rank in two ways
  # by only setting it once! To list out all of the
  # players of which are from that specific rank, you
  # need to add in %[rankname]% e.g. for donors it would
  # be: %donor%
  # 
  # But if you just want to get the number of the people
  # online within that specific rank, you'll need to
  # put in %int[rankname]% e.g. for staff it would be:
  # %intstaff%
  # 
  # %allplayers% displays the amount of players on the server
  # %maxplayers% displays the maximum player count
  ranks:
    rank1: staff
    rank2: donors
   # rank3:
   # rank4:
   # ...
   # rank25:

# This will safely promote players on your server
# by checking if the player you're promoting owns
# the previous group. This is especially useful for
# when you're dealing with people purchasing rank
# upgrades over web stores like Buycraft or Enjin.
# (Currently only supports PEX)
#
# Usage: /safepromote <name> <old rank> <new rank>
#
safepromote:
  # Should this feature be enabled?
  enabled: true
  # What commands/messages should be fired off
  # if the previous group check was a success?
  success:
    commands:
      - 'pex user %player% group add %newgroup%'
      - 'pex user %player% group remove %oldgroup%'
      - 'mail send %player% Thank you for supporting <Server name here>, enjoy your rank upgrade!'
    broadcast:
      - '&aCongratulations to %player% for promoting from %oldgroup% to %newgroup%!'
  # What commands/messages should be fired off
  # if the previous group check was a failure?
  failed:
    commands:
      - 'bcast %player% failed group check! Mails have been sent to server admins.'
      - 'mail send %player% Hello, it seems you didn''t own %oldgroup% so %newgroup% was not added. Server admins have been contacted and will help you.'
      - 'mail send <Your name here> %player% failed group check! %oldgroup% to %newgroup% as they did not previously own %oldgroup%'
    broadcast:
      - '&c%player% failed group check %oldgroup% to %newgroup%, admins have been informed!'

# This will send the player the messages below
# for when they look for vote links.
#
# Usage: /vote
#
vote:
  # Should this feature be enabled?
  enabled: true
  # The messages to send.
  websites:
    - '&4==(Vote Links)=='
    - '&9This is your default configuration file'
    - '&9please take some time to look at it, and'
    - '&9perhaps add in your vote links!'

# This will teleport a player out to the wilderness
# in a random spot on the surface. This has a check
# which will lock into Factions / WorldGuard if they
# are enabled and will prevent teleportation into
# these territories.
#
# Usage: /wilderness
#
wilderness:
  # Should this feature be enabled?
  enabled: true
  # What should the teleportation center around?
  # (X and Z coordinates)
  xCenter: 0
  yCenter: 0
  # How far out should a player be able to teleport
  # from the centre X and Z coordinates?
  maxRange: 5000
  minRange: -5000
  # Which blocks shouldn't the player be teleported
  # on top of?
  # Material names are listed here:
  # http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
  blocks:
    - WATER
    - STATIONARY_WATER
    - LAVA
    - STATIONARY_LAVA
    - CACTUS

# Here you can re-write all the messages sent to a
# player through the FBasics plugin!
messages:
  nopermission:
  - '&cYou don''t have permission to do this!'
  factions:
    friendlyfire:
      - '&c%damaged% is your ally, you cannot hit them!'
  wilderness:
    searching:
      - '&aSearching for a place to teleport...'
    failed:
      - '&cFailed to find a place to teleport! Try again.'
    success:
      - '&aTeleported to X:%x% Y:%y% Z:%z%'
  glitchpatches:
    inliquid:
      - '&cGet out of liquid for this type of teleportation!'
    toohigh:
      - '&cMake sure your Y axis is lower than 255 to do this!'
    inblock:
      - '&cYou cannot perform this command whilst in this block!'
    repair:
      - '&cSorry, we have disabled multiple args on repair due to an exploit'

Commands

  safepromote:
    description: Safely promotes players using a check
  votelist:
    description: Displays all vote links
    aliases: [vote, votes]
  list:
    description: Shows who is online
    aliases: [whoson, online]
  fbreload:
    description: Reloads the plugin
    aliases: [fbr]
  wilderness:
    description: Teleports the user to a random location
    aliases: [wild]

Permissions

  FBasics.bypass.*:
    default: false
    description: Bypasses all the Glitch Patches
    children:
      FBasics.bypass.liquid: true
      FBasics.bypass.height: true
      FBasics.bypass.block: true
      FBasics.bypass.repair: true
  FBasics.rank.*:
    default: false
    description: Permissions of all listing ranks
    children:
      FBasics.rank.[ranknames]: true
  FBasics.safepromote:
    default: false
    description: Enables usage of using the safe-promoting feature
  FBasics.vote:
    defualt: true
    description: Allows user to see vote links
  FBasics.list:
    default: true
    description: Allows user to see who is online
    usage: /list
  FBasics.help:
     default: true
     description: Displays help of the plugin
  FBasics.admin:
    default: false
    description: Grants the ability to use administrative commands for FBasics
  FBasics.wilderness:
    default: true
    description: Allows user to teleport to the wilderness

If anyone has any issues / reports to make, please contact me

Feel free to join my factions server and watch this plugin in action! http://img.niceminecraft.net/BukkitPlugin/simple-smile.png

IP: PVP.OriginMC.org

FBasics Plugin 1.7.2 Download Links

http://www.dl2.9minecraft.net/index.php?act=dl&id=1389585866

http://www.dl5.9minecraft.net/index.php?act=dl&id=1389612169


Credits: Sudzzy