custom-hooks-commands
textPage 8 of 152
50 messages on this page
Saturday, September 28, 2024
User 6ceaf4
2024-09-28T10:32:48 9150.229 INF Executing command 'cpm-multipleentityspawn 171 60 @ 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27' by WebCommandResult_for_cpm-multipleentityspawnUser 6edfda
It was all green
User 6ceaf4
Was that red?
User 6edfda
@User 59898394 Would I be looking for something specific?
Friday, September 27, 2024
User 6ceaf4
anyways, can you take a look at experiments -> playground -> executions?
User 6ceaf4
looks like 27 is zombieTomClarkRadiated
which is in your first line: cpm-multipleentityspawn ${entityId} 60 @ 54 54 54 44 43 43 32 32 33 27;
but I don't see you killing one, which is odd...
which is in your first line: cpm-multipleentityspawn ${entityId} 60 @ 54 54 54 44 43 43 32 32 33 27;
but I don't see you killing one, which is odd...
User 6edfda
It spawns them fine
User 6ceaf4
what happens if you manually do in console
cpm-multipleentityspawn 171 60 @ 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27;?User 6edfda
User 6edfda
Video of the event
Thursday, September 26, 2024
User 963f55
what do the actual server logs show doing this time/attempt??
User 6edfda
I just fixed the only instance of double spacing, but that didn't resolve the issue. I'm not dead throughout the whole thing
User 963f55
any chance the person is dead at the time of mes attempt? extra space in the command?
User 6edfda
I don't see why that issue would come up though?
User 6edfda
On wave 3:
Error in SpawnMultipleEntity: System.ArgumentNullException: Value cannot be null. Parameter name: Name cannot be nullUser 6edfda
I'll check logs
User 963f55
https://discord.com/channels/336821518250147850/427106880255426560/1288912937884323942
what does your logs say? any issues would prob be solved by looking there....
side note if you are using this as a specific place i would suggest moving the mes to use location vs the entityid, what if that player dies and is now at their base as they spawned in via bed, not the mes is being spawned there vs a horde base..
what does your logs say? any issues would prob be solved by looking there....
side note if you are using this as a specific place i would suggest moving the mes to use location vs the entityid, what if that player dies and is now at their base as they spawned in via bed, not the mes is being spawned there vs a horde base..
User 6edfda
Hey guys, I'm using this custom command
say "[db1304]Fight for your Life begins NOW!"; wait(10); cpm-multipleentityspawn ${entityId} 60 @ 54 54 54 44 43 43 32 32 33 27; wait(30); say "[db1304]How did wave 1 go? Ready for more?"; wait(3); say "[db1304]I really hope so. Here they come!"; wait(2); cpm-multipleentityspawn ${entityId} 60 @ 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27; wait(60); say "[db1304]Dang! That was crazy, huh?"; wait(3); say "[db1304]Well, you ain't done, yet, punks! Here comes round 3!"; wait(2); cpm-multipleentityspawn ${entityId} 60 @ 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27; wait(120); say "[db1304]Okay. It's over."; wait(5); say "[db1304]No, really, it is. You can go grab the loot, now."; wait(10); say "[db1304]SUCKER!! Final Wave INCOMING!"; wait(5); cpm-multipleentityspawn ${entityId} 60 @ 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27 54 54 54 44 43 43 32 32 33 27; wait(180); say "[db1304]Alright, alright, alright. It's over. Here comes the reward!"; wait(2); cpm-multipleentityspawn ${entityId} 20 @ sc_General sc_General sc_General sc_General; wait(1); say "[db1304]Now, grab your shit and get out!";But it's not spawning the zombies after wave 2 and the loot crates? Any advice? I have bumped up the max zombies on the server to 180 and it didn't help
Wednesday, September 25, 2024
User 6ceaf4
sorry, it's not clear to me... what are you trying to achieve?
Sunday, September 22, 2024
User d6c4fe
Maybe I could use a mod and change it for what I would like I will look into this too thank you guys
User d6c4fe
Ahhh ok so from this post it would it be possible to create my own pack then that would work I may have posted this in the wrong place all a learning curve lol
User 963f55
theres def mods out there for starter kits or can dev your own, but that is outside the scope of this discord
User 963f55
yes, but they asked in the CSMM forum in custom hooks, so i went with that basis for my response.....
User 602ca8
I think the best approach is to use a mod
User 963f55
quickest way would be to set up a custom hook, and base it off of first login.... issue commands to tp them to your lobby, and can have give commands to give them items you would like them to start with....
with that direction, look into that and let us know how far you get and we can help guild you further...
with that direction, look into that and let us know how far you get and we can help guild you further...
User d6c4fe
Hey guys anyone able to help with setting up starter kits for all new players and also when new players join they spawn into a lobby please eg the comands i would use for it please thanks
Friday, September 20, 2024
User f4e6b2
oh geez, I've been super busy and forgot to answer back.thank you for the response and helping out. We did give it a try but I think the command was badly formulated so it didn't catch it. I'll give it another try with them soon.
Monday, September 16, 2024
User bddf69
- Yep they're global, you can reuse them
- No, there's no builtin var for that
Sunday, September 15, 2024
User f4e6b2
Hi, I am going to be helping a server admin in csmm. I tried to write some custom commands and events, also tried to read the docs but they aren't too clear to me. I have just 2 questions to start out with.
- Are variables made global or only in the command made. Like if I make an line log check for the blood moon text and setvar let's say bloodmoonstatus to true, can a custom command check that var whenever run?
- is there a built-in var for blood moon event. I am still wondering about the first question and used that as an example.
Thursday, September 12, 2024
User f7ec30
Ah I see, thank you guys.
User a506fe
If talking bout the cpm command
User a506fe
That command was scratched with 1.0
User 23fa64
And where is the
removeitem command coming from?User 23fa64
Where are you trying to remove it from?
User f7ec30
I tried using ${player.entityId} and I get the same error about an API. (sorry newb)
User f7ec30
I am testing a remove item hook, can someone tell me why it isn't working? If you are busy I understand. say "Thank you ${player.name} , you are a sweet person, I hope you die last !!" ;removeitem ${player.name} resourceCropChrysanthemumPlant 1
Wednesday, September 11, 2024
User 6ceaf4
Yes
User 2fc02a
I'm trying to get a players CSMM role, so I can automatically add them to admin
Is this what I need?
Is this what I need?
{{#if (eq player.role.level 500)}}``` Would that pull their CSMM role? So I could execute ```admin add <name / entity id / platform + platform user id> <level> [displayname]```
Saturday, September 7, 2024
User 2fc02a
This all was a huge help thank you guys!
Friday, September 6, 2024
User 602ca8
I created a whole server manager with this 😛
User 602ca8
Player (\w+)User 602ca8
Use this to test https://www.regextester.com/







