Releases: Alex22sv/PhoenixAPI-Bot
Version 4.3.0
PhoenixAPI has been updated to v4.3.0!
Updated dependency:
- exaroton package to 1.8.0
New Discord command:
- "file" - Get the content of text files on your server. This command only works on text files that are readable, if the file is not a text file or readable, the bot will throw an error.
If you want a file that is not in the main root, you can useAPI file server plugins/PluginFolder/config.yml
to get the content of the config file of a plugin.
Version 4.2.4
The new version of PhoenixAPI is now available!
PhoenixAPI has a new command: "motd" - Get or change your server MOTD. Use the command API help motd
to get the command usage.
I have also fixed the error Server "undefined" not found.
when you executed the commands log, it should now display the server name instead of 'undefined'.
Version 4.2.3
PhoenixAPI has been finally updated to Discord.js version 13.1.0. A lot changed in the new version so I recommend to do a complete reinstall of the package.
Changes:
+
Updated dependencies versions: discord.js 13.1.0, exaroton 1.6.2 and node 16.6.1.
+
Whitelist command was separated into "whitelist" and "unwhitelist".
+
If you want to get the list of online players, you can now use API list {server} online
.
+
The bot won't throw an error if the server log is empty when you try to start it.
Changes in Spanish commands:
+
Changed from API ram {get/set} to API ram {obtener/fijar}.
+
Changed from API list {banned/online/ops/whitelist} to API list {baneados/ops/jugadores/listablanca}.
Version 4.2.2
PhoenixAPI is now available for Spanish!
- The repository on GitHub is now divided into 2 folders:
One named EN (for English) and the other one named ES (for Spanish)
Note: I might update some commands in the future for Spanish like whitelist that instead of using {add/remove}, you can use {añadir/remover}, this will take a whitel though, so for now, enjoy PhoenixAPI in Spanish.
¡DIVIÉRTETE!
Version 4.2.1
Include the URL to GitHub in help command.
Version 4.2
Changes:
Server IDs and full addresses are now supported when using commands!
You can execute commands like:
API status {server name}
- API status {server ID}
- API status {server address}
If you need help with a single command use API help {command}
to get its usage and description. Remember that you can report issues here
Version 4.1
After days I have finally released the new update thanks to @JulianVennen who helped me remaking the bot.
Changes
- Commands have been separated in different files.
status
command update: Thanks to the new update you can now get your server status in real time by usingAPI status {server name}
, the bot will send an embed of the current status of that server and when an event happens (e.g. when someone joins the server or the status of the server changes, etc.) the bot will edit its embed with the new changes.{server name}
is now a required parameter: Before the v4 update, just a few commands required to add the {server name} parameter to the messages because the server was already defined in the config file, but now that was removed so you need to add the parameter on your messages. If you need help useAPI help {command}
Version 1.2.2
Changes:
- Send message in the chat before restarting or stopping the server through the API.
- Add
players
command. Now you can get the list of players of a server. UseAPI help players
for more information. - Catch error when getting the server's log.
- Allow users to send custom commands. You can use
API execute {command}
. Since I use args to get the commands I only support 5 arguments for the command but I have already planned on adding more. - Send help embed for
status
command if server's name is not given.
Mini-update:
- Added
dynip
command. Now you can get the DynIP of a server.
Note: the DynIP is an alternative IP address for your server that helps you to directly connect to your server. Unlike the regular IP, the DynIP changes every time you start your server. UseAPI help dynip
to get more information.
- Removed custom commands for
execute
.
The main reason of this change is that for commands likemsg
ortitle
etc. require multiple arguments but the but only supports a few arguments. So yeah is better to use the way it used to be before.
Unimportant change: added timestamp in general help embed."
Version 1.2.1
- Added
info
command.
- Removed command
support
since you can find now the useful links in the commandinfo
.
- Added command
list
. Now you can check what players are inside a list. UseAPI help list
for more info. - Fixed error where the bot still executed some commands when user does not have permissions.
Version 1.2
- I've added a new config in the file where you can change the color of embeds.
- Updated
support
command. - Added
servers
command and changing server to status. - Fixed some typos.
- New updates comming soon.