From d860a21a928a1e2d06764b18cefc5d1985770154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 8 Nov 2025 11:27:35 +0200 Subject: [PATCH] Initial Commit --- .vscode/settings.json | 6 +++++ LICENSE | 21 +++++++++++++++ README.md | 1 + arcadiamc.sk | 62 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 LICENSE create mode 100644 README.md create mode 100644 arcadiamc.sk diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..247bf3e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "editor.renderFinalNewline": false +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d1753ea --- /dev/null +++ b/LICENSE @@ -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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..ebb855f --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# MatteZ02 - ArcadiaMC diff --git a/arcadiamc.sk b/arcadiamc.sk new file mode 100644 index 0000000..4c9a871 --- /dev/null +++ b/arcadiamc.sk @@ -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 [] [] []: + 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