Miscreated

Miscreated

35 个评价
Admin Chat Commands - the definitive package
   
奖励
收藏
已收藏
取消收藏
Mods: Admin
标签: chatcommands
文件大小
发表于
更新日期
51.360 KB
2020 年 9 月 2 日 上午 9:38
2021 年 1 月 29 日 上午 10:31
4 项改动说明 ( 查看 )

订阅以下载
Admin Chat Commands - the definitive package

描述
WARNING:
This mod is FULLY DISCONTINUED as of 2025.
NO SUPPORT WILL BE PROVIDED, AND NO UPDATES ARE TO BE EXPECTED FOR THIS MOD.

Do not post comments asking for support or help, or if something "does not work" - they will be, in all likelihood, left unanswered.

USE THIS MOD ONLY AT YOUR OWN RISK AND PERIL - see LICENSE below for specific terms of use.


--- LICENSE ---

Licensed under the MIT License.
View your full copy here: https://opensource.org/licenses/MIT

Copyright 2021-2025 -4iY- ; Theros

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 copyright and license 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.


--------------------------------------------------------------------------------------------------------------------------------------------------------------


AdminChatComms

This is a modification created mutually by -4iY- and Theros, both being official Miscreated Q/A Testers.

This package is aimed towards new admins having their own servers and provides all the frequently used chat commands. You will find the commands and their usage below.

---

Firstly, to tell the game who the admins are, you will need to create a .txt file next to hosting.cfg called 'Admins.txt' on the server and in that file list SteamID64's of every admin and user you want to have access to the commands EACH ON A SEPARATE LINE.
Example:
76561197960287930 76561197960287931 76561197960287932

You can also do it like this:
Me 76561197960287930 Myself 76561197960287931 and 76561197960287932 I 76561197960287933

[as many names and IDs as you want to, there is ONE space between the name and the ID - do not use names with spaces as that breaks the script].
Any issues with the file with be output to your latest server.log, so if something is not working check it for errors.

Command argument guide: anything in CAPITAL LETTERS is the argument (replace with the desired argument), anything (IN BRACKETS) is an *optional* argument.


Here are the commands:

- !ban STEAMID64
[bans the specified STEAMID64 from the server]

- !unban STEAMID64
[unbans the specified STEAMID64 from the server]

- !kick STEAMID64
[kicks the specified STEAMID64 from the server]


- !airdrop
[spawns airdrop event plane]

- !ufo
[spawns UFO event]

- !planecrash
[spawns planecrash event]


- !bases_dump
[logs all parts of all bases - can lead to severe lag spikes as it's being done, use sparingly!]

- !base_delete
[deletes the nearest base - SUPER CAREFUL!]


- !give NAME
[gives you an item to inventory, use script names - link below]
- can also accept an item count, example: `!give applefresh*5` -> gives 5 apples
- can also give a set of items, use `;` to delimit items, | to specify a child item, and * specifies the amount
example: `!give DuffelBag|762x30*4;AKM|762x30` -> gives DuffelBag containing x5 762x30 mags and AKM with a loaded mag

- !givestack NAME
[gives you a full stack of an item]
- can also give multiple stacks by passing a `;` delimited string of classnames, e.g.: `!givestack Lumber;Bandage`

- !spawn NAME
[spawns an item 2m in front of you, use the same item names as !give]

- !spawnent NAME
[spawns entities, such as explosive barrels - for vehicles use the command below]

- !spawnvehicle VEH (SKIN)
[spawn a vehicle in front of the player]
- optionally provide a valid skin name as the last parameter to skin the vehicle
- find skins using: steamdb miscreated items - https://steamdb.info/app/299740/items/
- convert the skin Class_Name to crc32 using this Crc32 Convert - https://emn178.github.io/online-tools/crc32.html


- !heal
[heals you to 100 HP]

- !wmsg MESSAGE
[sends a message to all users in the chat window]

- !wann MESSAGE
[sends a message to all users at top of screen]

- !mypos
[usable by anyone, returns the user's current map coordinates (not the GPS ones) in client chat]

- !jf NUMBER
[force join any custom registered (3-6) faction, admin-only to prevent abuse]

- !summon STEAMID64
[summons a player to you by ID]

- !tp COORDS
[teleports you to coordinates]

- !time TIME
[forces a time on the server, e.g. 15 is 3 p.m.]

- !weather PATTERN
[forces a weather pattern on the server, use numbers or full names]

- !rcon COMMAND
[executes a command via the RCON, make sure to retain the RCON syntax in full]

---

Spafbi's MisInformation, which has all script names of items and tracks differences between game versions:
https://github.com/Spafbi/mis-information/tree/master/info/Scripts/Entities/Items/XML

If you would like to learn more about Miscreated modding, we have created a 'newbie' guide just for you!
Here's a link: MisModding-101 https://github.com/MisModding/MisModding-101
Join the official Miscreated Discord: https://discord.gg/Miscreated
UnOfficial MisModding Discord: https://discord.gg/ttdzgzp
103 条留言
The Menace  [作者] 2024 年 2 月 23 日 上午 3:40 
@McDoode™ , you will need a separate mod that adjusts the events Lua file - it's outside of the scope of this mod.
McDoode™ 2024 年 2 月 21 日 上午 3:04 
Is this possible to Activate Santa event?
MommaBear 2023 年 12 月 21 日 上午 7:21 
It's usually !spawnufo
Mirckea 2023 年 12 月 12 日 上午 5:48 
@PalaDayi - "!spawnent ufocrash" should work
The Menace  [作者] 2023 年 12 月 5 日 上午 11:23 
@PalaDayi
This mod does not support that kind of functionality, and is not intended to. Please seek support from the modding community as what you are trying to achieve would require a mod of some kind.
PalaDayi 2023 年 12 月 5 日 上午 9:32 
Hello.
How can I automatically activate the UFO Drop on my server?
Nyyxzks 2023 年 2 月 22 日 上午 1:46 
double checked to be sure, there are no damage or hp modifying line in my config file.
thats why i found it weird also :)

about !spawn, i tried it so many times at so many different spot/locations, the possibility of summoning the item underground is very low.

i will continue digging the details and share them here, and will appreciate any support.

Btw, i am running Canyonlands map, fyi.
Didn't try it on island.
The Menace  [作者] 2023 年 2 月 22 日 上午 12:59 
Yeah... strange. An off question, do you have any HP or damage-to-faction type modifiers in your config? If so, that *may* be why it's acting weird when you try to heal.
Also, !spawn spawns the item about a meter in front of you, and it may get hidden in the ground depending on the terrain you're standing on. There's no possible way for it not to work, assuming you're using the correct name to spawn the desired item in
Mirckea 2023 年 2 月 22 日 上午 12:48 
for vehicles or ufo crash/plane crash or hordes you need to use !spawnent

regarding the heal command, I can't help, for me it works normally
Nyyxzks 2023 年 2 月 21 日 上午 11:52 
Thanks for the prompt reply Menace!
No other Mods installed (neither admin nor any other but this).
Only !give command works.
Other commands are not working or not working properly.
Such as; when i try to use !heal command, it damages my health.
When i try to use !spawn command, it spawns nothing, but the same item works with !give