Rifle's Chairs [Abandoned]
0.1Chairs for Minecraft but Rifle's way. You can sit on carpets and slabs too.
[Introduction]
Rifle's Chairs is a Chair plugin for Minecraft that allows players to sit on a Stair, Carpet or Slab. What started off as a small coding project became a highly-configurable yet simple chair plugin that has a 1000+ consistent servers coun t and 20k downloads.
But, now unfortunately I can't support the plugin any longer.
I don't have the time and I'm knee deep in other projects as well.
I'd like to thank everyone who downloaded, used and gave feedback for the plugin.
I wish I could continue but my busy schedule is not helping pushing the plugin forward. The source code is still available at the top of the resource. If you wish to make a plugin using code from Rifle's Chairs
be sure to credit appropriately!
[Images and Showcase]
Spoiler

Spoiler

Spoiler
[Permissions]
rfchairs.use: Permits the use of chairs
rfchairs.mute: Permits the muting of event messaging
rfchairs.reset: Permits the resetting of chairs
rfchairs.reload: Permits the reloading of the config
rfchairs.toggle: Permits the toggle of seating on chairs for a player
rfchairs.priority: Permits users with the ability to kick others out of chairs
rfchairs.notify: Notify user of updates when joining the server
rfchairs.manage: Permits a user to use the reset, reload and update command
[Config]
Spoiler
[/LEFT][/LEFT]
# Rifle's Chair plugin by Rifle D. Luffy
# Version 4.0
# #=============[Seat Configuration]=============##
# exit-seat-where-facing: Exit the seat where you are facing.
# max-distance: the maximum distance a player can be in order to sit on the seat
# max-item-count-to-sit: If they have more than this, they can't sit. Example: >10 dirt cannot sit
# set it to -1 to cancel.
# require-signs-at-end: checks for signs at the end of a seat; false by default
# priority-on-if-has-perm: if they have the perm rfchairs.priority, they will be allowed to replace users
# allow-trap-door-chairs: allows the player to sit on a chair that resembles a "throne"
# require-empty-hand: players must have no items in their hand to sit
# #=============[When Damaged By an Entity]=============##
# eject-player-on-damage: Should it eject players of their seats when damaged?
# minimum-eject-damage: The minumum damage needed to toss a player out of their seat
# face-attacker-when-ejected: Should the attacked face the attacker when hit out of their seat?
# #=============[Tossing players out of seats]=============##
# toss-player: will the players be tossed when they
# toss-velocity: the velocity of the attacked when knocked out of their seat
# scale-toss-velocity: whether or not the toss-velocity will increase if attacker is running
# velocity-scale-factor: how much the velocity is multiplied if attacker is running
# #=============[Customization]=============##
# regen-when-sitting: players regenerate when sitting on chairs
# regen-potency: the regen potion effect level where 0 is level 1
# allow-custom-messages: allow the use of custom messages when events are triggered
# allowed-chairs: The chairs that people are allowed to sit on
disable-update-message-if-on-latest: false
disable-update-messages: false
exit-seat-where-facing: false
allow-trap-door-chairs: true
require-empty-hand: false
max-distance: 2
max-item-count-to-sit: -1
require-signs-at-end: false
eject-player-on-damage: false
minimum-eject-damage: 2
face-attacker-when-ejected: false
toss-player: false
toss-velocity: 0.5
scale-toss-velocity: true
velocity-scale-factor: 2
regen-when-sitting: true
regen-potency: 0
allow-custom-messages: true
priority-on-if-has-perm: true
allowed-chairs:
- ACACIA_STAIRS
- BIRCH_STAIRS
- BRICK_STAIRS
- COBBLESTONE_STAIRS
- DARK_OAK_STAIRS
- DARK_PRISMARINE_STAIRS
- JUNGLE_STAIRS
- NETHER_BRICK_STAIRS
- OAK_STAIRS
- PRISMARINE_BRICK_STAIRS
- PRISMARINE_STAIRS
- PURPUR_STAIRS
- QUARTZ_STAIRS
- RED_SANDSTONE_STAIRS
- SANDSTONE_STAIRS
- SPRUCE_STAIRS
- WOOD_STAIRS
- STONE_BRICK_STAIRS
- ACACIA_SLAB
- BIRCH_SLAB
- BRICK_SLAB
- COBBLESTONE_SLAB
- DARK_OAK_SLAB
- DARK_PRISMARINE_SLAB
- JUNGLE_SLAB
- NETHER_BRICK_SLAB
- OAK_SLAB
- PETRIFIED_OAK_SLAB
- PRISMARINE_BRICK_SLAB
- PRISMARINE_SLAB
- PURPUR_SLAB
- QUARTZ_SLAB
- RED_SANDSTONE_SLAB
- SANDSTONE_SLAB
- SPRUCE_SLAB
- STONE_BRICK_SLAB
- STONE_SLAB
- BLACK_CARPET
- BLUE_CARPET
- BROWN_CARPET
- CYAN_CARPET
- GRAY_CARPET
- GREEN_CARPET
- LIGHT_BLUE_CARPET
- LIGHT_GRAY_CARPET
- LIME_CARPET
- MAGENTA_CARPET
- ORANGE_CARPET
- PINK_CARPET
- PURPLE_CARPET
- RED_CARPET
- WHITE_CARPET
- YELLOW_CARPET
- WHITE_CARPET
blacklisted-chairs: []
disabled-worlds: []
[LEFT][LEFT][Messages]
If you encounter errors with messaging at all. Delete your messages.yml then reload the server.
Spoiler
[/LEFT]
# Certain events occur when users use this plugin. Here you can define what messages might be said.
#
# Use %user% to refer to the user's name
# Use %seated% to refer to the seated's name
#
# General Events
#
# occupied-seat: Triggers when someone is already seated on the chair
# too-far-from-seat: Triggers when someone is too far to seat from their chair
# no-permission: Triggers when someone has no permission
# too-many-items: Triggers when someone sits with too large of an item stack
#
# Combat
#
# tossed-out-of-chair: Sends a message to the tossed player when they get tossed off
# Example: %user% tossed you out of your seat!
# Output; if Rifle hit you: Rifle tossed you out of your seat!
#
# tossed-out-with-speed: Sends a message to the tossed player but the tosser was running
# Example: %user% really knocked you of your seat!
# Output; if Rifle hit you: Rifle really knocked you of your seat!
#
# tossing-someone: Sends a message to the player that tossed someone off their chair
# Example: You tossed %seated% out of their chair!
# Output; if Rifle was sitting: You tossed Rifle out of their chair!
#
# tossing-someone-with-speed: Sends a message to the player that tossed someone off their chair with speed!
# Example: You really knocked %seated% out of their chair!
# Output; if Rifle was sitting: You really knocked Rifle out of their chair!
#
# Other Plugins
#
# denied-by-worldguard: called when worldguard blocks seating in a region.
# WorldGuard and WorldEdit must be enabled for these features to work!
temp-mute-duration: 60
mute-message-enabled: "&8[&6Rifle's Chairs&8] &7Event Messaging is now &aEnabled!"
mute-message-disabled: "&8[&6Rifle's Chairs&8] &7Event Messaging is now &cDisabled!"
toggle-message-enabled: "&8[&6Rifle's Chairs&8] &7Seating is now &aEnabled!"
toggle-message-disabled: "&8[&6Rifle's Chairs&8] &7Seating is now &cDisabled!"
occupied-seat: "&8[&6Rifle's Chairs&8] &cCan't sit there &7%user%, &amy homie &7%seated%&c sits there."
too-far-from-seat: "&8[&6Rifle's Chairs&8] &cCan't sit there &7%user%&c. You are too far!"
no-permission: "&8[&6Rifle's Chairs&8] &cCan't sit there &7%user%&c. I won't allow you!"
too-many-items: "&8[&6Rifle's Chairs&8] &c&7%user%&c! You have quite a hefty stack of items on your hand. Remove them!"
tossed-out-of-chair: "&8[&6Rifle's Chairs&8] &cTossed!... by &7%user%."
tossed-out-with-speed: "&8[&6Rifle's Chairs&8] &cYou got chucked off your seat by &7%user%."
tossing-someone: "&8[&6Rifle's Chairs&8] &cYou tossed &7%seated%&c off their seat!"
tossing-someone-with-speed: "&8[&6Rifle's Chairs&8] &cYou forcibly tossed &7%seated%&c off their seat!"
priority-replaced: "&8[&6Rifle's Chairs&8] &cYou forcibly tossed to make space for &7%user%&c, &7%seated%"
no-sign-at-ends: "&8[&6Rifle's Chairs&8] &cThis seat &8[&7which is a stair&8]&c doesn't have signs on both its ends!"
denied-by-worldguard: "&8[&6Rifle's Chairs&8] &cYou may not sit in this region!"
[LEFT][Plugin Statistics]
https://bstats.org/plugin/bukkit/RFChairs
[Special Thanks]
Thank you VicenteRD, carlpoole, i0xHeX for pushing changes even when I wasn't active
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta