Fixed missing/wrong permission nodes
This commit is contained in:
parent
00958fdcdf
commit
bc81b20eb4
@ -19,7 +19,7 @@ import com.redstoner.misc.Utils;
|
|||||||
import com.redstoner.modules.Module;
|
import com.redstoner.modules.Module;
|
||||||
|
|
||||||
@AutoRegisterListener
|
@AutoRegisterListener
|
||||||
@Version(major = 1, minor = 0, revision = 0, compatible = 1)
|
@Version(major = 1, minor = 0, revision = 1, compatible = 1)
|
||||||
public class Abot implements Module, Listener
|
public class Abot implements Module, Listener
|
||||||
{
|
{
|
||||||
private boolean enabled = false;
|
private boolean enabled = false;
|
||||||
@ -85,6 +85,7 @@ public class Abot implements Module, Listener
|
|||||||
" reload {" +
|
" reload {" +
|
||||||
" help Reloads answes from the .json file.;\n" +
|
" help Reloads answes from the .json file.;\n" +
|
||||||
" run abot_reload;\n" +
|
" run abot_reload;\n" +
|
||||||
|
" perm utils.abot.reload;" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
"}";
|
"}";
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ import com.redstoner.misc.Utils;
|
|||||||
import com.redstoner.modules.Module;
|
import com.redstoner.modules.Module;
|
||||||
|
|
||||||
@AutoRegisterListener
|
@AutoRegisterListener
|
||||||
@Version(major = 1, minor = 0, revision = 0, compatible = 1)
|
@Version(major = 1, minor = 0, revision = 1, compatible = 1)
|
||||||
public class AdminNotes implements Module, Listener
|
public class AdminNotes implements Module, Listener
|
||||||
{
|
{
|
||||||
private boolean enabled = false;
|
private boolean enabled = false;
|
||||||
@ -117,16 +117,19 @@ public class AdminNotes implements Module, Listener
|
|||||||
" type player;\n" +
|
" type player;\n" +
|
||||||
" help Creates a new admin note;\n" +
|
" help Creates a new admin note;\n" +
|
||||||
" run an_create note;\n" +
|
" run an_create note;\n" +
|
||||||
|
" perm utils.an" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
" \n" +
|
" \n" +
|
||||||
" del [int:id] {\n" +
|
" del [int:id] {\n" +
|
||||||
" help Deletes an admin note;\n" +
|
" help Deletes an admin note;\n" +
|
||||||
" run an_del id;\n" +
|
" run an_del id;\n" +
|
||||||
|
" perm utils.an" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
" \n" +
|
" \n" +
|
||||||
" list {\n" +
|
" list {\n" +
|
||||||
" help Lists all notes;\n" +
|
" help Lists all notes;\n" +
|
||||||
" run an_list;\n" +
|
" run an_list;\n" +
|
||||||
|
" perm utils.an" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
"}";
|
"}";
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ import com.redstoner.misc.Utils;
|
|||||||
import com.redstoner.modules.Module;
|
import com.redstoner.modules.Module;
|
||||||
|
|
||||||
@AutoRegisterListener
|
@AutoRegisterListener
|
||||||
@Version(major = 1, minor = 0, revision = 0, compatible = 1)
|
@Version(major = 1, minor = 0, revision = 1, compatible = 1)
|
||||||
public class Motd implements Module
|
public class Motd implements Module
|
||||||
{
|
{
|
||||||
private boolean enabled = false;
|
private boolean enabled = false;
|
||||||
@ -69,12 +69,14 @@ public class Motd implements Module
|
|||||||
" [string:motd...] {\n" +
|
" [string:motd...] {\n" +
|
||||||
" help Sets the motd. Use --reset to reset to default;\n" +
|
" help Sets the motd. Use --reset to reset to default;\n" +
|
||||||
" run setmotd motd;\n" +
|
" run setmotd motd;\n" +
|
||||||
|
" perm utils.setmotd;" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
"command getmotd {\n" +
|
"command getmotd {\n" +
|
||||||
" [empty] {\n" +
|
" [empty] {\n" +
|
||||||
" help Returns the motd;\n" +
|
" help Returns the motd;\n" +
|
||||||
" run getmotd;\n" +
|
" run getmotd;\n" +
|
||||||
|
" perm utils.getmotd;" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
"}";
|
"}";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user