Skip to content

Commit

Permalink
remove workflows, update readme, added missing default in switch
Browse files Browse the repository at this point in the history
  • Loading branch information
YouHaveTrouble committed Aug 29, 2021
1 parent a935503 commit 1bb2c7e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 45 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/buildjar.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import eu.endermite.commandwhitelist.common.CWGroup;
import eu.endermite.commandwhitelist.common.ConfigCache;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.event.HoverEvent;
import net.kyori.adventure.text.format.NamedTextColor;
import net.kyori.adventure.text.format.TextDecoration;
import net.kyori.adventure.text.minimessage.MiniMessage;

import java.util.ArrayList;
Expand Down Expand Up @@ -55,6 +53,7 @@ public enum CommandType {
public static List<String> commandSuggestions(ConfigCache config, Collection<String> serverCommands, String[] args, boolean reloadPerm, boolean adminPerm) {
List<String> list = new ArrayList<>();
switch (args.length) {
default:
case 0:
case 1:
if ("reload".startsWith(args[0]) && reloadPerm)
Expand Down
20 changes: 13 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ precisely what commands players can see and use.
![bStats Servers](https://img.shields.io/bstats/servers/8704?label=Proxy%20servers%20using%20CW&style=flat-square)

<h3>Plugin Features</h3>

<ul>
<li>You can lock certain commands behind permission
<li>Overwrites default "no such command" message with your branding
<li>Blocks tab completion on spigot and bungeecord*</li>
<li>Blocks command execution on spigot and bungeecord</li>
<li>Blocks completion and execution of specific subcommands (spigot only)</li>
<li>Lock selected commands behind permission
<li>Overwrite default "no such command" message with your branding
<li>Block tab completion</li>
<li>Block command execution</li>
<li>Block completion and execution of specified subcommands</li>
</ul>

\*This only works on Waterfall and its forks
<b>Compatible versions</b>: 1.13+

<b>Compatible software</b>:
- Bukkit-based servers (Spigot, Paper, Airplane, Purpur, etc)
- Waterfall (NOT Bungeecord!)
- Velocity

[Download latest release](https://github.com/YouHaveTrouble/CommandWhitelist/releases/latest)

Having some issues? Make sure to check out <a href="https://github.com/YouHaveTrouble/CommandWhitelist/wiki">Plugin Wiki</a>.

Expand Down

0 comments on commit 1bb2c7e

Please sign in to comment.