This commit is contained in:
nessar committed 2022-05-02 06:02:13 +02:00
1 parent 7351a9febd
commit 5729901500
4 files changed
+66 -4

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
/.vscode
/README.md
/bin
/lib
+54
View File
@@ -0,0 +1,54 @@
## Staff plugin
* tempMute / mute
* Freeze
* Staff mode
* ban / tempban
* notes on player
* playerlist : online and offline head clickable to show profile
* player profile =>
* number of reports
* number of tickets
* [number of punishments](https://youtu.be/12jlZPFWp9U?t=303)
* first logging
* stats
* staff notes
* gui
* show players online click =>
* moderate player gui
* freeze
* open inv
* open ender chest
* tp
* add notes
* punishment
* [punishment gui](https://youtu.be/12jlZPFWp9U?t=259)
* head
* anvil to select tempban / ban / mute / tempmute / kick / etc...
* template to choose
* duration => edit paper in anvil gui
* message => edit paper in anvil gui
* save as template from here
* [tickets](https://youtu.be/12jlZPFWp9U?t=105)
* suggestion
* help
* keep closed tickets
* tempban from tickets
* respond in chat and save the conv
* tp to tickets creation location
* [reports](https://www.spigotmc.org/resources/tigerreports.25773/)
* report ID
* report notify staff on / off
* report reason predefined + custom in chat or anvil
* tp to reporter location / report reporter location / reported location / report reported location
* reputation of reporters
* data from the reporter and the reported saved
* save the last 50 or more chat messages of all players and when a report strike save the reported and the reporter messages in the report
* status of the report => waiting / processing / important
* arichve report / delete report (need perm) / process report => true (=> punishment with templates or nothing) / not sure / false
* abusive report
* comments on report => private / public (send to the reporter) delete comments (need perm)
* [templates](https://youtu.be/12jlZPFWp9U?t=320)
* staff chat
* clear chat => don't clear if you have specific perm (or force it)
* global mute chat
+1 -3
View File
@@ -15,8 +15,6 @@ import org.bukkit.plugin.java.JavaPlugin;
public class Staff extends JavaPlugin implements Listener {
private static final ItemStack[] staffInv = { new ItemStack(Material.COMPASS), new ItemStack(Material.BLAZE_ROD),
new ItemStack(Material.REDSTONE), new Dye(DyeColor.LIME).toItemStack(), };
private static final String PREFIX = ChatColor.GRAY + "[" + ChatColor.GOLD + "Staff" + ChatColor.GRAY + "] "
+ ChatColor.RESET;
private List<Report> reports;
@@ -86,7 +84,7 @@ public class Staff extends JavaPlugin implements Listener {
}
public void setStaffItem(Player p) {
p.getInventory().setContents(arg0);
// p.getInventory().setContents();
}
public void setStaffMod(Player p) {
+11
View File
@@ -0,0 +1,11 @@
package fr.nessar;
import org.bukkit.DyeColor;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.material.Dye;
public class StaffInv {
private static final ItemStack[] def = { new ItemStack(Material.COMPASS), new ItemStack(Material.BLAZE_ROD),
new ItemStack(Material.REDSTONE), new Dye(DyeColor.LIME).toItemStack() };
}