custom-hooks-commands

textPage 1 of 152
Next ยป
50 messages on this page
Saturday, February 8, 2025
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Hi everyone!
We are moving to a forum channel for support requests. This helps us keep things organized and makes information easier to find. I am making this channel read-only and will move it to archive in the near future.
Please post questions in #support :)
Friday, February 7, 2025
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
it works thanks @User 36612002 and @User 59898394
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
think -1 would be the best option ๐Ÿ˜‰ gona try that first
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
or you can remove yourself from admin list temporarely to test
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
then it works for anybody
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
you can make it -1
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
was already suspecting that might be the problem thats why i tried both acces levels.. gona try it with my friend in the server aswell
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
if you are admin, level 0 and 1 wont kick you out
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
i'm trying to get this done. i made the claim as a normal claim with only the name bmonly(22-4)_GetOut and the coords. it got added. then i set the time to day 7 21 30 while in the area and waiting.. but at day 7 22:00 nothing seems to happen. i've tried setting it on both 0 and 1 acceslevel. also something i didn't mention ๐Ÿ˜› it's going to be used for an entire city but players must have an option to place their own lcb in that city aswell.
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
Thanks, gonna try it tomorrow ๐Ÿ‘
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
well, the GetOut part can be changed...
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
That's awesome!
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
make a regular claim named like that
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
bmonly(22-4)_GetOut @User 15317928 @User 25117961
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
if i find a sollution i'm more then happy to share it ๐Ÿ˜›
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
Yeah, I tried to do a bloodmoon only claim, but hadn't found a workaround.
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
that would set for every day right? not just bloodmoon i think
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
Maybe the open hours claim?
Thursday, February 6, 2025
Avatar for 86a084f3ce4f1b8bd466516331a92ababd3447a7c1d24ab4230323381deed040
User 86a084
this is prob asked before and i'm pretty sure i'm missing something (i used to have a server when /zone was still used) but i'm trying to protect my lobby for all damage and i want people to get teleported/evicted at bloodmoon to an other area. but i'm stuck on the command i need to use for it. i already created a claim for it
Sunday, February 2, 2025
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
Working on it! in the meantime you can find some modules in the support takaro channel
Avatar for d026855846716e26fd60f56c93759d2c1b16d6ed614e4f53cc7d25e27c25b401
User d02685
Awesome. Is there a module library yet for takaro? I'll happily test anything out
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
@User 37498108 I made some cool progress on building modules thanks to @User 22055452 and @User 59898394 so bring it on!
Avatar for d026855846716e26fd60f56c93759d2c1b16d6ed614e4f53cc7d25e27c25b401
User d02685
Hilarious, love this and want it, haha. Yall are awesome
Saturday, February 1, 2025
Avatar for f7ec307c8f1e046d385a1bf1dccc23c91ed912516ec4a207eda6e351ec8ea78e
User f7ec30
Ok I will talk to him about it. Thanks so much.
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
nah man all good was small effort , you will make me happy if you migrate fully or partially to Takaro ๐Ÿ™‚
Avatar for f7ec307c8f1e046d385a1bf1dccc23c91ed912516ec4a207eda6e351ec8ea78e
User f7ec30
Lmfao, that is beautiful. But I have yet to convince my server owner to try takeiro. I will pay for it none the less since I am only good as my word. Just let me have some coffee. Is a steam gift card ok?
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
8 ball never lies
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
No content
image.png

image.png

PNG โ€ข 106.6 KB

Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
can be much more optimized with cost of currency and permissions
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
@User 23166689 simple 8ball module
image.png

image.png

PNG โ€ข 1.4 MB

Avatar for a827fb800b970377940da84d66abc498ff76568b3c64de46b25aee9fc715a430
User a827fb
Yay, I seem to have gotten it working, even for admin!
{{else if (eq player.role.level 300)}}
sendDiscord(channel_number1234, "* VIP ${player.name} is a Silver supporter.");
pm2 Server ${player.name} "Your supporter role is Silver. Is this is not expected, please open a ticket in Discord.";
I didn't change that since it wasn't working this morning. That suggests there must be a time delay some times between clicking save and the hook processor getting updated.
image.png

image.png

PNG โ€ข 90.4 KB

Friday, January 31, 2025
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
Your first code works fine with a log catcher. It uses their name.
Avatar for a827fb800b970377940da84d66abc498ff76568b3c64de46b25aee9fc715a430
User a827fb
and not when I log in with my admin account. The script is triggering though when non-admin players log in. I tried demoting myself last night to test and locked myself out of CSMM ๐Ÿคฃ ๐Ÿคฆ
Avatar for a827fb800b970377940da84d66abc498ff76568b3c64de46b25aee9fc715a430
User a827fb
The ${player} object seems to work for simple stuff but not when I start using conditional logic.
Avatar for a827fb800b970377940da84d66abc498ff76568b3c64de46b25aee9fc715a430
User a827fb
The trouble with using a logLine trigger is that it's definitely not going to be given a player object. What I'm hoping to do is be able to PM players as they log in, check their role in CSMM and send them a PM to the effect of "This is your current CSMM role. If that's not correct, please re-link CSMM and discord." So I need a player object.
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
@User 23166689
it can and so much more ๐Ÿ˜„
Avatar for f7ec307c8f1e046d385a1bf1dccc23c91ed912516ec4a207eda6e351ec8ea78e
User f7ec30
sounds sexy if it can do 8ball.
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
yes do so, a new world will open oxox
Avatar for f7ec307c8f1e046d385a1bf1dccc23c91ed912516ec4a207eda6e351ec8ea78e
User f7ec30
Hmmm I would have to talk to the server owner and tech support, we are only allowed one bot and they are fussy about it. But thank you brother, I'll talk to them tonight and see what they say. I'll shoot you a pm.
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
@User 23166689No worries, it is the upgraded version of csmm, which gives more flexibility as it allows you to create use cases just like the ones you mentioned.
If you want you can test it out, they can work next to each other with a different prefix for commands. So nothing will break.
I can build that 8 ball stuff for fun if you want ๐Ÿ™‚
Avatar for f7ec307c8f1e046d385a1bf1dccc23c91ed912516ec4a207eda6e351ec8ea78e
User f7ec30
sorry to sound noob but what is it exactly, another bot?
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
it can work next to csmm xd
Avatar for f7ec307c8f1e046d385a1bf1dccc23c91ed912516ec4a207eda6e351ec8ea78e
User f7ec30
But would it be usable in csmm? As I said 50 dollars is yours if you can do it for csmm.
Avatar for 69dd72e9beda7be7af827395b1f4c2eae3591be65684955a7d6af40731acc13c
User 69dd72
We can build it easily in Takaro
Avatar for f7ec307c8f1e046d385a1bf1dccc23c91ed912516ec4a207eda6e351ec8ea78e
User f7ec30
might be off topic but if someone can script me a magic 8-ball I will pay 50 dollars for the code haha. I tried, not very hard, but it is something I'd like to see added to the bot.
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
Ah yes, brilliant, Go into CPMSettings.xml. Should be in there
Avatar for 28c666e687f334de9a37e52dd1699a0a41d4f0d6ac8f7f747a273ee039cb06e2
User 28c666
Can't the time of the horde notification message be changed?
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
either shorten the timer or start a longer timer using the day started?
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
I'm honestly not having much luck with player connected also. Try to use a log line of them joining. see if it fires then. something like
joined multiplayer