mirror of
https://github.com/MatteZ02/arcadiamc
synced 2025-11-11 11:38:19 +00:00
Initial Commit
This commit is contained in:
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"files.trimTrailingWhitespace": true,
|
||||||
|
"files.insertFinalNewline": true,
|
||||||
|
"files.trimFinalNewlines": true,
|
||||||
|
"editor.renderFinalNewline": false
|
||||||
|
}
|
||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2024-2025 Warén Group
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
62
arcadiamc.sk
Normal file
62
arcadiamc.sk
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
#--------------------------------------------------
|
||||||
|
#
|
||||||
|
# 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
|
||||||
Reference in New Issue
Block a user