1
0
mirror of https://github.com/MatteZ02/arcadiamc synced 2025-11-11 11:38:19 +00:00
Files
mattez02-arcadiamc/arcadiamc.sk
Christer Warén d860a21a92 Initial Commit
2025-11-08 11:27:35 +02:00

63 lines
1.6 KiB
Plaintext

#--------------------------------------------------
#
# ARCADIAMC
# by Christer Warén / Warén Group
#
#--------------------------------------------------
on join:
message "[ARCADIAMC] Welcome back, %player%!"
on vehicle entity collision:
if entity is not player:
if entity is not item:
if entity is not minecart:
kill entity
cancel event
if entity is minecart:
kill entity
cancel event
on vehicle exit:
if event-vehicle is minecart:
wait 3 tick
kill event-vehicle
on vehicle move:
if event-vehicle is minecart:
if entity is not player:
kill event-vehicle
command /speed [<text>] [<number>] [<player>]:
description: Speed
executable by: players
trigger:
if arg-1 is not set:
stop
if arg-1 is set:
if arg-1 is "walk":
if arg-2 is not set:
stop
if arg-2 is set:
if arg-2 is greater than 10:
set player's walking speed to 0.2 * 10
stop
set player's walking speed to 0.2 * arg 2
stop
if arg-1 is "fly":
if arg-2 is not set:
stop
if arg-2 is set:
if arg-3 is not set:
if arg-2 is greater than 10:
set player's flying speed to 0.2 * 10
stop
set player's flying speed to 0.2 * arg 2
stop
if arg-3 is set:
if arg-2 is greater than 10:
set arg-3's flying speed to 0.2 * 10
stop
set arg-3's flying speed to 0.2 * arg 2
stop