Simple Auto Exec icon

Simple Auto Exec -----

Plugin that automatically executes any commands on server start



This is a simple plugin that executes commands upon starting the server

This plugin reads a new .txt file inside your server folder and tells console to input whatever was found inside that file (except for comments)

------------Commands------------------------
/addexec <command> - Add a command to the list

/delexec <command/all> - Remove a specified command (or all commands) from the list

/reexec - Execute all commands from the list

/listexec - Show all commands in the list

/flagexec <command> <flag> - Adds a condition on which this command executes

/flagexeclist - Shows all possible flags
Flags:
- "Banned", makes command unaddable to the list and unexecutable by the console
- "OnPlayerJoin", tells to execute a command whenever a player joins
- "OnPlayerDeath", tells to execute a command whenever a player dies
(Commands can be flagged from the start by adding a needed flag at the end of /addexec command)
---------------------------------------------------
Alternatively, you can manually edit the file itself called "SAE_AutoExec" which creates in your server folder after starting the server with this plugin enabled


Tested on versions from 1.4.6 to 1.19.2, works the same on all of them

This is my first plugin, so it may not have the most brilliant code. I'd aprecciate any feedback

------------Permissions-----------------------
"sae.addexec" for /addexec - Default: OP
"sae.delexec" for /delexec - Default: OP
"sae.reexec" for /reexec - Default: OP
"sae.listexec" for /listexec - Default: OP
"sae.flagexec" for /flagexec- Default: OP
"sae.flagexec.list" for /flagexeclist- Default: OP

----------------------------------------------------
Resource Information
Author:
----------
Total Downloads: 166
First Release: Sep 24, 2022
Last Update: Oct 1, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings