跳到正文

Tomorrow Event

作者:DUCVN1882

A mod help server admin set up next day event by commands

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This mod add commands that allow server admin or who has permission to set what will happen in the next ingame day. Event will be triggered when the world jump to new day (the same time player wake up from bed).

 

Notice: This will not work properly in singleplayer because event data store server world so it will be erased when you leave the world.

 

Root command: /tmrevent 

Set up event:

/tmrevent <event type> <number player> <event arguments> <is repeat>

<event type>: (giveItemEvent/giveEffectEvent/teleportEvent)

– giveItemEvent: Next day player will get item in pool.

– giveEffectEvent: Next day player will get effect in pool.

– teleportEvent: Players in Overworld will be teleported next day.

<number player> (integer): Number of player will get things in pool, target is random so 1 player can be chosen more than 1 if they’re lucky. Input -1 will result all players will be chosen.

<event arguments>:

– giveItemEvent/giveEffectEvent (true/false): Player will get all things in pool if true. Player will get one random thing in pool if false.

– teleportEvent (location): Location players will be teleported to.

<is repeat> (true/false): Event will repeat next day if true. Event will happen only one if false.

Example:

/tmrevent giveItemEvent 3 false true, will create a repetitive event give 3 players 1 random item in item pool.

/tmrevent giveEffectEvent -1 true false, will create an event give all players all effects in effect pool.

/tmrevent teleportEvent 10 15 64 4 true, will create a repetitive event teleport 10 players in Overworld to [15,64,4].

Set up pool:

/tmrevent <add what to pool> <thing to add> <argument 1> <argument 2>

<add what to pool> (addItem/addEffect): Define type of thing to add.

<thing to add> (item/effect): Define Item/Effect to add to pool.

<argument 1> (integer): Stack number of item if <thing to add> is Item. Duration of effect (tick) if <thing to add> is effect.

<argument 2> (integer, only with Effect): Amplifier of effect.

Example:

/tmrevent addEffect minecraft:jump_boost 2000 2, will add jump boost 3 with 2000 ticks duration to effect pool.

/tmrevent addItem minecraft:stick 32, will add stick with stack 32 to item pool.

Util:

/tmrevent <util>

clear: Clear event pool and set everything to default value.

check: Print current event detail. Only player enter command will see.

notify: Notify all players in server tomorrow event.

 

More event types and singleplayer version are planned, release date is unclear.

 

Join me on discord: https://discord.gg/RPhxxWaNmu

My other projects: https://www.curseforge.com/members/ducvn1882/projects

 

Support me on Paypal:

常见问题

Tomorrow Event 支持哪些 Minecraft 版本?

Tomorrow Event 支持 Minecraft Java 版 1.16.5,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Tomorrow Event 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

DUCVN1882 的其他作品

查看全部 →