StaffMode [Soon with Anti-Phase, and AntiCheat addons]

Status
This thread has been locked.

Marck_Feet

Banned
Feedback score
0
Posts
201
Reactions
41
Resources
0
MOD ITEMS
This plugin makes easier the work of the moderators in your server. You can customize some options, for example, if you have another plugin to manage the chat, you can turn off the ModItem's chat management module (You can still use the items of the Mod GUI, there is an option for it) .

Commands

/mod - Makes you get into Mod Mode
/chat - You can choose if you want to use ModItem's chat management tools or another plugin's.

Permissions

- Mod Mode permissions
• modes.mod (Allows you to do /mod)
• modes.* (If you want a full node, there you have it.)

- Chat Management permissions
• chat.use (Allows you to do /chat)
• chat.talkpower (You can type in chat while it is muted)
• chat.* (Node for all the permissions)

Images

sin-t%C3%ADtulo-png.74278


2-png.74279


3-png.74280


Owner Ship Proof

951bc29cbefe7c9ae4be82e05d15355b-png.74281


TO DO:
  1. Anti-phase module, to prevent some hacks.
  2. X-ray informer. With a simple ecuation we will inform you if some players might be xraying.
  3. Duty mode, so staff can toggle into duty/not duty mode.
  4. No swear, we are making a custom configuration, to auto-answer when a player asks for a rank or something that you will chose.
LINK: https://www.spigotmc.org/resources/...-update-where-anti-phase-will-be-added.13508/
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Shortninja

♥ Java Enthusiast ♥
Supreme
Feedback score
2
Posts
1,143
Reactions
734
Resources
0
You should encapsulate the "modMode" List and make the method non-static imo.

GLWS! :p

another one of these? we need original ideas.
 

Marck_Feet

Banned
Feedback score
0
Posts
201
Reactions
41
Resources
0
You should encapsulate the "modMode" List and make the method non-static imo.

GLWS! :p

another one of these? we need original ideas.
Still a noob, sorry :/
 
Banned forever. Reason: Creating Multiple Account (Matth, https://builtbybit.com/members/matth.17077/)

Shortninja

♥ Java Enthusiast ♥
Supreme
Feedback score
2
Posts
1,143
Reactions
734
Resources
0
Marck_Feet Then maybe you shouldn't be posting Spigot premium plugins (explicity said by md_5 for guidelines), no offense at all.

Encapsulation basically means to make a field accessible only by methods. An example of this would be like this:

PHP:
private static List<String> list = new ArrayList<String();

public getList()
{
  return list; //Even better, return an IMMUTABLE copy of the List.
}

public addList(String string)
{
  list.add(string);
}

public removeList(String string)
{
  list.remove(string);
}

It is a very important and fundamental part of OOP that you should learn! :p

If you think you need to have a method static to access it, then you're wrong :/ Just make a new instance of the class you want to get methods for and you are done!

Good luck on your future programming endeavors!


Also, I can take a vouch copy if ya want a vouch to get your reputation up! :p
 
Last edited:

Resilience

Owner @CraftadiaMC
Supreme
Feedback score
10
Posts
1,452
Reactions
1,318
Resources
0
Like this Shortninja?
I wrote it in fuckboiscript
PHP:
private static List<ShitPost> list = new ArrayList<ShitPost();

public getShitPost()
{
  return ShitPost;
}

public addevenShittierPost(String string)
{
  list.add(ShittierPost);
}

public removeList(String string)
{
  list.remove(ShitPost);
}
 

Shortninja

♥ Java Enthusiast ♥
Supreme
Feedback score
2
Posts
1,143
Reactions
734
Resources
0
+1 Vouch! Reviewed the code and it is fairly nice. This developer is surely on the road to creating more great plugins and updates for this plugin. :p
 
Status
This thread has been locked.
Top