Ticket system that takes effect in the event of speeding violations
Vault Support
Flash effects when triggered
Fully customizable
Installation:
Drag the plugin to your plugin folder and reload the server
Place a PlayerHead, look at it and execute the /speedcameras addcamera Command
That's all you have to do!
Preview:
Flash effect when the speed camera gets triggered
Permissions & Configurations:
speedcameras.admin - To configure the plugin
speedcameras.ignore - Players with this permission are ignored
Code (YAML):
tickets:
enabled: false
#should a player be charged? Vault required! prices: #Example: 1 100 - if the player is 1 b/s to fast he will get charged 100$ - 1 100
- 2 250
settings:
checkPeriod: 1
#value in ticks - describes how often the speed camera will measure cooldown: 100
#value in ticks - cooldown between speedings per player flashPlayers: true
#should player be flashed with a blindness effect? textures:
speed_camera_idle: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmQ1NWJmNjRmYWFlYWMxZWU1MWI0ZjI3Y2NmMDI0ZjUzNGIyYTExODJmMGU2YTM3YTFkZjkxODMxMjdlYzFjNiJ9fX0=" speed_camera_activated: "ewogICJ0aW1lc3RhbXAiIDogMTY0Mjg2MDYxNjAxOCwKICAicHJvZmlsZUlkIiA6ICI2MmU1ZjY3NjAwMTc0ODU1OGU5OGYxZGU0NjU3MzY0ZiIsCiAgInByb2ZpbGVOYW1lIiA6ICJHdW5IaXBweSIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS8zZGZkZDIzODEwN2Q3YzQ4MjQxYzQ0MmI3MTc3MjAyMjAwZWQwMzM4MTcwNDcwYmE0Y2ZjN2Y5YzllZGQ5YzNiIgogICAgfQogIH0KfQ=="
Code (YAML):
prefix: "&8[&bSpeedCameras&8]" reload: "&aSpeedCameras successfully reloaded!" general:
sneak_to_remove_camera: "&cYou must sneak to remove the speed camera!" removed_camera: "&aThe speed camera was successfully removed!" speeding_info:
info: "&6You were too fast!" speed_limit: "&fAllowed Speed: &a{speed} &6b/s" your_speed: "&fYour Speed: &c&l{speed} &6b/s" charged: "&fYou have paid &c{price} &ffor the speed camera ticket!" commands:
add_camera:
succesfully: "&aThe speed camera was created successfully!" no_speed_limit_given: "&cPlease specify a maximum speed!" camera_already_at_location: "&cThere is already a speed camera there!" block_must_be_a_player_head: "&cThe block you are looking at must be a player head!" info:
succesfully: "&6Speed Camera Info:" speed_limit_info: "&fAllowed Speed: &a{speed} &6b/s" control_distance: "&fControl Distance: &a{blocks} &6Blocks" no_camera_found: "&cYou have to look at a speed camera!" set_speed_limit:
succesfully: "&aThe speed limit has been changed to &6{speed}!" no_speed_limit_given: "&cPlease specify a maximum speed!" no_camera_found: "&cYou have to look at a speed camera!" set_control_distance:
succesfully: "&aThe control distance was changed to &6{blocks}!" no_control_distance_given: "&cPlease specify a control distance!" no_camera_found: "&cYou have to look at a speed camera!"
Code (YAML):
prefix: '&8
[&bSpeedCameras&8
]'
reload: '&aSpeedCameras wurde neu geladen!'
general:
sneak_to_remove_camera: '&cDu musst sneaken um den Blitzer zu entfernen!'
removed_camera: '&aDer Blitzer wurde erfolgreich entfernt!'
speeding_info:
info: '&6Du wurdest geblitzt!'
speed_limit: '&fErlaubte Geschwindigkeit
: &a{speed} &6b/s'
your_speed: '&fDeine Geschwindigkeit
: &c&l{speed} &6b/s'
charged: '&fDu hast &c
{price
} &ffür das Blitzer-Ticket bezahlt!'
commands:
add_camera:
succesfully: '&aDer Blitzer wurde erfolgreich erstellt'
no_speed_limit_given: '&cBitte gib eine Höchstgeschwindigkeit an!'
camera_already_at_location: '&cDort steht bereits ein Blitzer!'
block_must_be_a_player_head: '&cDer Block auf den du schaust muss ein Spieler-Kopf sein!'
info:
succesfully: '&6Blitzer Info:'
speed_limit_info: '&fErlaubte Geschwindigkeit
: &a{speed} &6b/s'
control_distance: '&fMessweite
: &a{blocks} &6Blöcke'
no_camera_found: '&cDu musst auf einen Blitzer schauen!'
set_speed_limit:
succesfully: '&aDas Geschwindigkeitslimit wurde auf &6
{speed
} &ageändert!'
no_speed_limit_given: '&cBitte gib eine Höchstgeschwindigkeit an!'
no_camera_found: '&cDu musst auf einen Blitzer schauen!'
set_control_distance:
succesfully: '&aDie Kontroll-Distanz wurde auf &6
{blocks
} &ageändert!'
no_control_distance_given: '&cBitte gib eine Kontroll-Distanz an!'
no_camera_found: '&cDu musst auf einen Blitzer schauen!'