Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for always Clanchat without command #276

Open
vaporvee opened this issue Dec 26, 2021 · 14 comments
Open

Option for always Clanchat without command #276

vaporvee opened this issue Dec 26, 2021 · 14 comments
Labels
enhancement New feature or request

Comments

@vaporvee
Copy link

Is your feature request related to a problem? Please describe.
I have the discord integration on and the clan system is a big part on my server.
But its annoying to type /. every time i want to chat.

Describe the solution you'd like
It would be cool if you could turn on something in the config.yml that swaps this whole situation.
So that you type /. to chat globaly and when you are in a clan you type just normaly in chat wich automatically sends it to the clan chat. Then you would also have somehow a option to add a tag for messages wich are sent in global chat and a tag for clan messages.
For example '[Global Chat]cmod31 > hi' and '[Clan Chat][Clannameher]cmod31 > hi' or something

Also nice plugin thanks

@vaporvee vaporvee added the enhancement New feature or request label Dec 26, 2021
@RoinujNosde
Copy link
Owner

There is the sub command "join" that does a similar thing.
You run /. join and everything you write in chat goes to the clan chat.
Also works for ally chat.

@vaporvee
Copy link
Author

Is there an config option that activates it as default?

@RoinujNosde
Copy link
Owner

Nope.

@vaporvee
Copy link
Author

so could this be added?

@Tomut0
Copy link
Collaborator

Tomut0 commented Dec 27, 2021

so could this be added?

You could probably run this command by players' join. I guess, there are a lot of ways to do it. 👀

@vaporvee
Copy link
Author

can i run this command after something detects that the player has been added to a clan? When yes then how?

@RoinujNosde
Copy link
Owner

Only clan members are able to use that command. Others will just get a warning message.

@vaporvee
Copy link
Author

vaporvee commented Dec 27, 2021

hm still want a config feature then but its your plugin all good
Edit: oh you meant members yeah thats good but how can i run a comand when the player joins a clan

@RoinujNosde
Copy link
Owner

how can i run a comand when the player joins a clan

That could be done using SimpleClans' API.

@SrBedrock
Copy link
Contributor

An option could be added where sending /. without any arguments could access the clan chat?

@Tomut0
Copy link
Collaborator

Tomut0 commented Dec 27, 2021

@cmod31, Just a continue of my mind.

You could use Denizen:

# Runs clan chat command after player join
myclan_script:
  type: world
  events:
    after player join:
      - execute as_player "/. join" silent

If you will use Depenizen (it's an extension for Denizen) and PlaceholderAPI:

# Runs clan chat command after player join, also checks if player is joined in clan or not
myclan_script:
 type: world
 events:
   after player join:
     - if <placeholder[simpleclans_in_clan]>:
       - execute as_player "/. join" silent

@vaporvee
Copy link
Author

vaporvee commented Dec 27, 2021

ok i'll try would be cool if you add me vaporvee#4320 on discord i'll write you if i can't get the script to work
edit: how can i write normaly in chat again i would really like to swap the functionality of /.
also its just after player join not when the player gets in the clan

@RoinujNosde
Copy link
Owner

We also have a Discord server for support, you can join on https://discord.gg/CkNwgdE

how can i write normaly in chat again

/. leave

@vaporvee
Copy link
Author

i meant its not a solution when i want to flip global chat and clan chat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants