custom-hooks-commands
textPage 13 of 152
50 messages on this page
Tuesday, July 16, 2024
User a506fe
that would require stepping into the advanced zone, but handlebars is your friend there
User 69fe02
Hey I was wondering if anyone can help. I have hooks to give ranks on the server based on PlayerLevel (using setRole and Regex .*made level) - How do I get these hooks to ignore Donator role?
Saturday, July 13, 2024
User 28c666
I need it so that there is a reward command for the level, but I want to double the amount. how can i rewrite it?
say "[FF7F00]${player.name} [FFFF00]has reached level [9400D3]${newLvl} [FFFF00]and has earned ${newLvl} Dukes"; giveplus ${player.steamId} casinoCoin ${newLvl}
User 23fa64
You want
resetchunks, but beware, it still doesn't work perfectly.Using it more than a couple times can corrupt the region.
User 28c666
I need help because I couldn't find it in the description. there should be a command to improve the area within a specified radius. The holes in the ground, etc. Is there a solution for this?
Friday, July 12, 2024
User b5da3e
Still learning it
User b5da3e
Sorry what I mean is it's usable with version 1.0 just wasn't sure
User 44dc99
Is what up to date for 1.0? You make your custom hooks yourself.
User b5da3e
Is this up to date for 1.0
User b5da3e
Hello
Tuesday, July 9, 2024
User 3085f8
how can i reset the claimed area
User 3085f8
can you give an example ?
User a506fe
If not reset the chunks with resetchunks command
User a506fe
getprefab reset
User a506fe
If it's a rwg poi stand in/near it and do
User 3085f8
i mean blocks structure etc
User 3085f8
hi guys how can i reset claimed area ?
Friday, July 5, 2024
User 23fa64
Only works for new worlds, I believe.
User a12f6e
Look for spawnpoints.xml in the world folder
Thursday, July 4, 2024
User 8dc036
and how to do this?
User 23fa64
The best way to do that is yo edit your spawn locations on a new map.
User a506fe
That will teleport players to those coordinates on first join
User 8dc036
will this make new players spawn in a certain location??
User a506fe
teleportplayer ${player.entityId} -2011 37 3711User 2bff06
So I was reading through previous chats for how to automate teleportation of new players to a specific location like a lobby. And I mostly just saw mention of the teleportplayer command which is triggered using the new player event. But, I'm not sure what to use after that. I'm a bit of a novice when it comes to settingup teleportation. Is this correct? playerJoined teleportplayer -2011 37 3711
User aee541
No content
User 8dc036
I'm new to this, could you send me photos of how to do it? it would help me a lot
User 23fa64
No, CPM.
You ard it in your mods folder.
You can do automated bloodmoon aware restarts with it.
User 8dc036
Im using custom hooks
User 8dc036
CSMM ?
User 23fa64
Are you using CPM?
User 8dc036
Could anyone help me create this command?
User 8dc036
Would I be able to set my server to restart at 3 am and 12 am, every day automatically?
User 8dc036
say "Server Rebooting -- Log off NOW!";saveworld;wait(30);shutdown
Wednesday, July 3, 2024
User 6ceaf4
In the server settings
User 39bd83
People I'm a bit lost about custom commands. Where should I create them? in a specific file or somewhere else?
Tuesday, July 2, 2024
User 498811
ok nvm ๐ i figured that out ๐
User 498811
Hi, so i have that issue.. i have a hook that worked perfectly fine.. but now in experimental.. its not working.. not sure what is changed.. anyone could point out what is going on ?
sendDiscord(ID"Come join: {{#each server.onlinePlayers}}{{this.name}}, {{/each}}as the blood moon is about to start in 3 hours!")result in csmm is :
No content and then list of all players that are online..
Monday, July 1, 2024
User 6ceaf4
https://docs.csmm.app/en/cpm/console-commands.html look at say2
User c4c515
<a:Cat21:1186662714790137966> <a:aviso:1188148987635707914>
User c4c515
DO YOU KNOW THE COMMAND? I'M NEW
User 6ceaf4
custom hook with player death event
User c4c515
Guys, how do I set up an automatic message when the player dies, due to a zombie notifying me in chat plus a funny text
Sunday, June 30, 2024
User 6ceaf4
You could use a player joined hook to do it automatically since it only fires when they first join or set a variable to prevent the command from running again or set a really long Cooldown or whatever is the name for that (might ve another name)
User 4f75c3
I created a starter kit command with !kit but what can I do so that a player can run this command only once?
Saturday, June 29, 2024
User bddf69
It's timing dependent in any case :( When CSMM loses connection, it'll try to reconnect every x time. Sometimes that'll be before that log line, sometimes after
User ee86c9
Hmm, for me that still works. Tho, we are running CSMM on the same machine with game servers, so may be that speeds up detection a bit.
