mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
add metadata to timescale command
This commit is contained in:
parent
8d75013fe7
commit
26de5a69b1
@ -1 +1 @@
|
||||
# Coming Soon
|
||||
## Coming Soon / It's not done yet.
|
@ -34,5 +34,5 @@ Prerequisites:
|
||||
|
||||
Tutorials:
|
||||
- [Custom Blocks](custom_block.md)
|
||||
- [Custom Items](comingsoon)
|
||||
- [Timescale Command](comingsoon)
|
||||
- [Custom Items](comingsoon.md)
|
||||
- [Timescale Command](comingsoon.md)
|
@ -1,4 +1,7 @@
|
||||
(() => {
|
||||
ModAPI.title("Timescale Command");
|
||||
ModAPI.description("/timescale 0.5 to halve the speed of time");
|
||||
ModAPI.credits("By ZXMushroom63");
|
||||
PluginAPI.addEventListener("sendchatmessage", (event) => {
|
||||
if (event.message.toLowerCase().startsWith("/timescale")) {
|
||||
var speed = parseFloat(event.message.split(" ")[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user