Space Engineers

Space Engineers

Không đủ lượt đánh giá
Admin Timers
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Type: Mod
Mod category: Script
Kích cỡ file
Đã đăng
Đã cập nhật
24.274 KB
15 Thg07, 2020 @ 7:10am
5 Thg08, 2020 @ 4:57pm
6 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Admin Timers

Mô tả
This mod has been abandoned and will no longer receive any updates

This mod can be used to add a chat command to trigger any timer block. To use, simply add a tag with the following format to the timer block's name:
[cmd:command_here]
In this example, the command would be //command_here. The block must be owned by an admin. All commands will start with two slashes and can be used by any player that is an admin.

If you wish to make the command available to a specific faction, use this tag instead:
[fcmd:faction_tag:command_here]
In this example, anyone (even non admins) in the faction tagged faction_tag can execute the command //command_here and trigger the timer(s).

If an admin has both a faction and a regular command with the same name, the admin command always takes priority. Admins can also use /cmd command_name and /fcmd faction_tag command_name to execute a command.

Instead of triggering a timer, players can also trigger programmable blocks. Simply add the same tags to a programmable block. When running the command for programmable blocks, you may add an argument for the block to use. If no argument is specified, the default one is used. Example:
//command_here pb_argument

Any player can use this to list available commands:
/cmdlist

Source Code
https://github.com/austinvaness/AdminTimers
14 bình luận
avaness  [tác giả] 3 Thg05, 2024 @ 6:46pm 
Hi Redwolf07. This mod can only be used by admins to trigger timers
Redwolf07 3 Thg05, 2024 @ 4:25pm 
Hi, Im wanting to use this on a private server for friends only to give none admin players the ability to save the game. as an admin i can use the /save in chat to save the game and I want them to also be able to do it on demand. I have tried and been unsuccessful. Any help would be gratefully received. Thankyou
Iconaclysm 1 Thg09, 2023 @ 2:22pm 
resolved now sorry to bother you
Iconaclysm 31 Thg08, 2023 @ 1:53pm 
when I enter for ex // run argument1 it returns that PB has triggered. When I enter //run argument2 it returns "//run argument2 " not as a command but as a chat message
Iconaclysm 31 Thg08, 2023 @ 1:31pm 
is there a way to call argument A // Run argument A and call // Run argument B in a 2nd command on the same PB?
avaness  [tác giả] 31 Thg08, 2023 @ 1:20pm 
Each command will only trigger the programmable block once
Iconaclysm 30 Thg08, 2023 @ 10:53am 
Sweet mod. Have a question about Programmable blocks. Can I call multiple arguments on a single Programmable Block or do I need a PB for every argument I want to call? So far it will only call a single argument for me.
CTH2004 6 Thg08, 2020 @ 6:47am 
Thanks!
avaness  [tác giả] 5 Thg08, 2020 @ 5:03pm 
Added support for programmable blocks.
avaness  [tác giả] 31 Thg07, 2020 @ 8:40am 
Mod updated.