[Feature Request] A command to toggle the silent join/quit messages when you can the silent join/quit perms #4487
Replies: 15 comments
-
|
You can create a custom alias that gives and negate the the permission asConsole! (use the check for permission for this) for you. Dont forget to add a needed permission to execute this custom alais. Example with PermissionEx after the next server restart they should be shown in tabcomplet It could be that $2 needs to be replaceced with $1 .. im not 100% if the on/off is coulting as var 1 in this case or not. |
Beta Was this translation helpful? Give feedback.
-
|
I use LuckPerms. I tried this, and I also tried it with $1 replacing the $2 but it doesn't seem to be doing anything when I check ingame and console for if it effected anything. This is actually the first time I've seen that CMI can do that much. I actually didn't know it could do this, that's awesome. Due to the fact that you can do so much with custom aliases, I was wondering if there's a possible way I could do the same or similar things in the eventCommands for the death event. By this I mean, would there be a way I could make a death message that is not just one base death message but one that I could add my own custom reasons per death cause? I was just curious if that can be done. |
Beta Was this translation helpful? Give feedback.
-
|
yes you can |
Beta Was this translation helpful? Give feedback.
-
|
Awesome. Would you possibly be able to provide an example of one custom death reason so I could see how to do it? Also, could you please send me some documentation on how this works, so I could figure out how to fix the "joinleave [on/off]" command as, as I previously said I couldn't get it to work. |
Beta Was this translation helpful? Give feedback.
-
|
Well if you want i can post you our little eventcommamd.yml we use just the join anf first join events but may it help you to see what is possible :) Specialized Command Usage If you dont know how to desgin it we may could help you. You wrote you wanne work with the death Event. So what should be done there? |
Beta Was this translation helpful? Give feedback.
-
|
About the join on off, it first asks if you have the defined permission for it else it breaks up. |
Beta Was this translation helpful? Give feedback.
-
|
Okay, if I wanted to setup a separate death message for when a player gets killed by a player (which is below the base death message called "PlayerKillPlayer") and I set one up. I'm assuming if I set it up under that message, it will trigger both death messages, from the base death message and the playerkillplayer death message. How would I go about making one for this? Or, would it not trigger the base death message at all and I could just do it through it? |
Beta Was this translation helpful? Give feedback.
-
|
No, like you saw allready you have the normal death event and the playerkill event on that list. |
Beta Was this translation helpful? Give feedback.
-
|
I've tried messing with the joinleave command though for whatever reason I haven't been able to get it to work. Also, recently I was wondering if I could make a "/withdraw [amount/all]" with the plugin "Vouchers". I was wondering if CMI could check the users balance, run a command to give that player a voucher, and then take away the money from that player. Is that possible to do to make a sort of "/withdraw" command? |
Beta Was this translation helpful? Give feedback.
-
|
you can check the balance with hasmoney and break it up the secene if this is not true but maybe i went out of the idea.. what i did for example (i replaced a whole server sign shop item with cmi - yes with buying and selling, money checks + feedback msgs |
Beta Was this translation helpful? Give feedback.
-
|
"/withdraw (amount)" command: And, the "/withdraw all" command would just do everything the above did just give you all your money. |
Beta Was this translation helpful? Give feedback.
-
|
well just a little idea... cheque (playerName) [amount] |
Beta Was this translation helpful? Give feedback.
-
|
I suppose. Added onto this I was wanting to maybe make something that would allow you to withdraw EXP. |
Beta Was this translation helpful? Give feedback.
-
|
Which is why I wanted to use CMI with Vouchers to make a money withdraw and an exp. |
Beta Was this translation helpful? Give feedback.
-
|
sobyou want to exchange exp for cheque?
if player usually has no permission to create ancheque you can use bperm:cmi.command.cheque! so players bypass the permission in that case for the customalais. well its up to you if you take singlen exp or whole level here for one Dollar. checjs your using here: hasexp:VALUE#! and may if used bperm:cmi.command.cheque! you could try using expcost:$1! and therefore leaving the takenaway part.. but i dont know if this works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description of feature/improvement request:
Detailed explanation of what it should do, when and in what situation:
This would be a new command added just to be able to toggle if your join is silent or not when you have the permissions, cmi.messages.disablelogin, cmi.messages.disablequit. This could have a new permission of it's own dedicated to toggling your join. These don't necessarily have to be connected though. This is just to toggle it, as currently I have to negate the perm for players with the "*" perm or op as their join is automatically silenced.
Basic explanation as to why this feature is needed and/or useful to have:
Just to quickly sumarize what I just said, I think there should be a command to toggle your join/leave message manually ingame rather than having to negate the previously mentioned permissions for your join message to show if you have all permissions.
Now, this may already exist and I just couldn't find it. Let me know if I missed it, thanks :)
Beta Was this translation helpful? Give feedback.
All reactions