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

Implementation of CommandFilters, replacing cooldowns and costs #4224

Closed

Conversation

FrankHeijden
Copy link
Contributor

Basically implements #3200, with just a small difference in yaml format: made the name required, as a key, just like kits.
Automatic converter is included, and will create the new yaml format from existing nodes.
Formats for command will be the same as with the command-costs, formats for pattern will be the same as in command-cooldowns.

Closes #3200, #3847

FrankHeijden and others added 14 commits October 30, 2020 17:05
- Split the provider up for both spigot/paper impl.
# Conflicts:
#	providers/PaperProvider/build.gradle
# Conflicts:
#	providers/PaperProvider/build.gradle
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Essentials.java
Removing PaperReflFormattedCommandAliasProvider.java and the need for the reflection library in paper providers.
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Essentials.java
#	Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java
#	Essentials/src/main/java/com/earth2me/essentials/IEssentials.java
@JRoy JRoy added the type: enhancement Features and feature requests. label Jun 11, 2021
@JRoy
Copy link
Member

JRoy commented Jun 11, 2021

github is showing no files changed for some reason

@oskarkk
Copy link

oskarkk commented Jun 12, 2021

Could it also include command confirmations? IIRC, right now there are two commands that you can confirm: /pay and /clearinventory. It would be very handy if you could set confirmations for any command, and especially for paid commands. There could be a general command like /confirm that would confirm the last command (if the confirmations for it were turned on).

Also, is the config for this moved to a new file? It would be nice if it was, the Essentials' config is soooo looong.

@FrankHeijden
Copy link
Contributor Author

hm yeah, seems this was already merged lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace command-costs and command-cooldowns with command filters system
4 participants