custom-hooks-commands
textPage 6 of 152
50 messages on this page
Sunday, October 13, 2024
User 0c9f0f
oh it worked
User 0c9f0f
try now?
User 0c9f0f
i did
User 23fa64
Change player to 1000 and supporter to 800.
User 23fa64
No
User 0c9f0f
i gotta change alot then
User 0c9f0f
ohg donator
User 23fa64
Can you do what I asked above.
User 0c9f0f
i found that it is really helpful in finding errors in my scripts 😛
User 0c9f0f
ingame chat i put it into a ingame-command and put on send output
User 23fa64
Where is that even coming from?
User 0c9f0f
its setting them to suporter
User 23fa64
What does your roles and permissions look like?
User 23fa64
I'm not sure.
User 0c9f0f
i deleted the connect one
User 23fa64
Is the other one still enabled?
User 0c9f0f
just automated atm
User 23fa64
Are you working with just one or both scripts?
User 23fa64
I wonder why they are being added to the supporter group?
User 0c9f0f
their added back as 800
User 0c9f0f
tried again
User 0c9f0f
ok done that
User 23fa64
May as well delete all the ones that say 1000 because that is the default value.
User 0c9f0f
i had to change it to 1000
User 0c9f0f
was 800
User 0c9f0f
serveradmin says they all 1000
User 23fa64
Maybe even the
cgc listmembers command to see who is in what group.User 23fa64
Next I would check your
serveradmin.xml file to see if there are a crap ton of unneeded entries there.User 0c9f0f
ok trying it
User 23fa64
Try this.
{{#each server.onlinePlayers}} {{#if (lte this.role.level 0)}} cgc adduser {{this.entityId}} Admin; admin add {{this.entityId}} 0; {{else if (lte this.role.level 10)}} cgc adduser {{this.entityId}} Moderator; admin add {{this.entityId}} 10; {{else if (lte this.role.level 800)}} cgc adduser {{this.entityId}} Supporter; admin add {{this.entityId}} 800; {{else}} cgc adduser {{this.entityId}} Player; admin remove {{this.entityId}}; {{/if}} {{/each}}
User 23fa64
Remove facilitator.
User 23fa64
Oh, player should be 1000.
User 0c9f0f
i wasnt gonna use facilitator
User 23fa64
Are you going to use those, we can trim that down if you want.
User 0c9f0f
yea i wanted them to be in player group instead of groupless
User 23fa64
One of the big things is you changed the end to admin add instead of admin remove.
User 23fa64
Settings>>Roles and permissions
User 0c9f0f
where do i set those
User 0c9f0f
this may be the step i was missing
User 23fa64
Which roles do you have in your CSMM currently?
User 0c9f0f
names were to fit the server alil better and the role was for fine tuning later
User 0c9f0f
asnd the role level?
User 0c9f0f
uh you mean the caps in the names?
User 23fa64
Why did you change it?
User 0c9f0f
yes




