So I think I have my code right? How would I go about adding it to the game? http://pastebin.com/c7j0mwd1
I have not tested this, but you'll need to add an if statement somewhere under the if starts with "/" section in Hook.csSo I think I have my code right? How would I go about adding it to the game? http://pastebin.com/c7j0mwd1
if (_message == "StartShutdown") //This will be your chat forward slash command name.
{
if (ShutDownWorld.IsEnabled)
[indent]{[/indent]
[indent][indent]ShutDownWorld.Start;[/indent]
[/indent]
[indent]}[/indent]
else
[indent]{[/indent]
[indent][indent]_cInfo.SendPackage(new NetPackageGameMessage(EnumGameMessages.Chat, string.Format("{0}Shutdown is not enabled.[-]", CustomCommands.ChatColor), "Server", false, "", false));[/indent]
[/indent]
[indent]}[/indent]
[indent]return false;[/indent]
}
I wouldn't recommend running both at the same time due to potential conflicts, but you can download a copy of the source code from dmustanger's github and rename /home fairly easily if you'd like. Look in Hook.cs.How about adding an option to call /home whatever you wish ie /home2 or /base2 (so that you can run it along side CBSM and have 2 homes available)
These files are written and compiled in Microsoft Visual Studio. You can get a free fully functional version for private use here.Also how do I go about compiling these files into the final format?
I just need it to have an economy mod for shop and link commands to it. So if wanted to charge for a command. Also need the ability to link multiple commands. Ex: /fixleg - debuff sprainedLeg; debuff brokenLeg; say "be careful"; pay 100 coins.With the mod installed in the Mod folder and the server running, go to /saves/ServerTools and enable custom commands in the ServerToolsConfig.xml. Then you can setup the commands in CustomChatCommands.xml to teleport to x,y,z. Once setup, you can use /whateveryourcommandis. Use -1 as the Y coord so you don't fall through the world. It will place you on the top most block. For that, I either make a platform/area just for the landing or an air shaft with a wall and spikes at the surface to land in underground establishments. Basically don't have any blocks above wherever you want to land.
You can setup as many of these as you'd like and can set a timer for how long between ports.
Example:
As far as zgates and a coin system, there isn't anything for that.Code:<Command Command="arena" Response="tele {EntityId} 1000 -1 1000" />
Try my modded files...First... i love it, works really great and that without telnet =). Thanks!
i use coppi's mod -> https://7daystodie.com/forums/showthread.php?44835-Coppi-MOD-New-features
there is a command to change that chat color for a specific player.
can you write a fix, for your mod to ignore the "[colorcode]" (for gimme and other commands)? sorry for my english.
here is a picture (i think it is better to understand ^^): http://fs5.directupload.net/images/160723/g3qt45oy.png
servertoolsconfig.xml is created in the LoadConfig.csOkay i was playing around and working with visual studio, but i still was unable to find the location where the servertoolsconfig.xml is generated from.
You need to add a line to the UpdateConfig method in LoadConfig.cs. Yes. The .sln is the project AKA solution. Build - Build ServerTools will make the .dll. The new .dll is located in the (your folder)ServerTools\obj\Debug or (your folder)ServerTools\obj\Release depending on the Solution Configurations.I would like to add my automatic restart as something that can be enabled/disabled. Does it generate the config based on the files it has and i dont need to do anything? Also it is the .sln that i should have open correct, and when i get it to the stage to try it i build it?
Give and Give XP are part of Alloc's Server Fixes.great mod - love it.
any way to support Giveto commands for admins like "GiveTo 171 Stone Axe 600 1 (player ID, item, quality, quantity)
also can /gimme support giving xp like "giveselfskillxp Mining Tools 10000"
RconcreteBlock is not a default invalid item. Look at InvalidItems.xml for a list of items or add the items you want.so how does the Ban or kick players for invalid items/blocks in their inventory work? I gave myself 500 concreteblockr (re-enforced) and it did nothing.
You can set custom commands to teleport to your friends bases if that helps.FEATURE request - Teleport - can you add it?
so we can teleport to friends