Update 4.7.4
- Added a TypedDict for Console entries.
- Fixed logic in time handling for AMP 2.6.0.0
- Added attributes to DBServer to fix linter in AMP_Console.py.
Update
- stealth update; no version change with this.
- Fixed minor issues inside
banner_cog
- Fixed issue with older verions of python trying to run GK (should support 3.8++ now.)
Update 4.5.3
- Minor fixes to logger statements on
AMP_tasks_cog
,regex_cog
,cog_template
andPermissions_cog
. - updated
banner_cog
- Updated naming scheme for logging statements.
- Added
autocomplete_bannergroups_servers
for/bot bannergroup remove
- Updated autocomplete for
/bot bannergroup remove
- Updated autocomplete for
- Added
@property
forself._client.Message_Timeout
to_Message_Timeout
- Fixed edge case inside
autocomplete_bannergroups_channels
that could fail onempty
orNone
returns.
- updated
DB
- Added
@property
to help linter with list returns. - Added
return types
to many methods. - Added
Get_all_Servers_for_Bannergroup
to be used inautocomplete_bannergroups_servers
- Cleaned up methods and updated return statements.
- Added
- updated
utils
- Added
traceback
prints tosub_command_handler
andsub_group_command_handler
- Added
- updated
loader.py
- updated naming convetion for
module_name
- Fixed logic for checking dependencies of a cog.
- updated naming convetion for
Update 4.5.1 and 4.5.2
- Hotfix
- Fixed typo in
DB_Update.py
table creation code. - Removed typo in
/bot banner_settings auto_update
- Updated versions.
- Fixed typo in
Update 4.5
-
changes to
AMP_server_cog.py
- relocated and renamed methods to better facilate redability
- relocated banner related functions to
banner_cog
- fixed edge case where
stopping
an Instance just before Banner Generator fires would cause the loop to crash.
-
changes to
whitelist_cog.py
- added validation of
Whitelist_request_channel
when enabling auto-whitelist. Should warn if channel doesn't exists and or not set. - moved all whitelist specific settings commands under
/bot
- changed
/whitelist reply
to/bot whitelist_reply
. - clarified doc strings on some commands.
- combined
/server whitelist true
and/server whitelist false
into/server settings whitelist
- You can set Whitelist to True or False in one command.
- Added
Disabled
to hideWhitelist Open/Closed
on Banners.
- added validation of
-
added extensive documentation to
amp_template.py
- added required methods and notes to indicate this.
-
Updated
loader.py
-
Added the ability to support
.disabled
to the end of a cog file and have it be ignored.- Revamped the entire
cog_auto_loader
to better handle cogs that rely on other cogs. - Cogs will now require a
Dependencies
var at the top of their files and will use a list to define any required cogs they need to load. If the cog has no dependency set it toNone
- See
cog_template.py
for examples if needed.
- See
- Revamped the entire
-
Created
REGEX.md
- Here you will find useful information regarding Console Filtering and how to impliment Regex filtering.
-
Updated
Commands.md
- Fixed spelling mistakes and cleaned up formatting of commands.
- Removed documenation for commands that no longer exist; updated documenation for commands that have changed.
-
Updated
AMP.py
- relocated
getWhitelist
toamp_minecraft.py
, there is a generic method inside ofAMP.py
for linters. - Changed logic inside of
Login()
to better handle SessionIDs when an Instance is offline.
- relocated
-
Updated
AMP_Console.py
- Fixed logic inside of
console_filter()
when handling Event type filtering. - Added two
dev
print statements. - Added an
_ADScheck()
when console parsing fails to find any entries.
- Fixed logic inside of
-
Updated
AMP_Handler.py
- Changed layout of server names when using autocompletes
- Removed displaying of
TargetName
when equal toNone
.
- Removed displaying of
- Changed layout of server names when using autocompletes
-
Updated
utils.py
- Added
sub_group_command_handler()
for adding commands to existing groups when accross seperate files. - fixed edge case with
__remove_commands()
on first time startup failing to find command group. - Updated
autocomplete_servers
to better handle partial matches of server names when typing to narrow results.
- Added
-
Updated
utils_embeds.py
- Added
InstanceID
field to embed footers.
- Added
-
Updated
DB.py
- Moved
DB_Update
to its on file, whew.. that file was getting big. - Added multiple functions for
BannerGroups
to help interacting with them. - Added
ServerID
parameter toGetServer
to help searching.
- Moved
-
Update
discordBot.py
- Fixed typo in
/bot utils sync
command.
- Fixed typo in
HotFix 4.4.9
- changed default
DBBanner
blur amount to0
- fixed issue in
on_command_error
- Updated
banner_creator.py
- fixed issue with
banner_creator.py
raising an issue about_font_Whitelist_y
not existing. Thanks @IceOfWraith#6057 - changed resolution of Banners in
banner_creator.py
from1800x600
to800x270
- changed
self._font_default_size
from 25 to 12
- changed
- fixed issue with
word_wrap
not handling text without a blank space. Too long of Instance Names will show like thisInstaceN...
or similar depending on length.
- fixed issue with
- fixed issue with
/server banner settings
Modal/View
Update 4.4.8
- added
Donator
role bypass for Auto whitelist wait time.- added
/whitelist donator_bypass
command.
- added
Update 4.4.7
- fixed issue with
whitelist_request_handler()
when attempting to use a non unique IGN. Thanks @Snaggolicious#4987 - split
AMP.py
class's into seperate files for future ease of usage/editing.- Updated any related
AMP.py
calls and any type checking related toAMPInstance, AMPHandler
andAMPConsole
- Updated any related
- fixed logic on
/bot permissions
command - updated info on
/bot utils clear
command - cleaned up formatting of
bot_utils_sync
method - updated the layout of
bot_settings_embed
insideutils_embeds.py
which will provide a cleaner display for/bot settings
command - fixed issue with donator flag not updating on banners. Thanks @FeminalPanda#7879
- updated
commands.md
to reflect the changes.
- updated
- began making
sub_group_handler
for adding commands to an existing command group. - fixed issue with
server banners
not resetting when the discord channel was deleted. Thanks @hotdamnitsaaron#1501 - fixed issue with
whitelisting
, was failing with duplicate IGNs. Thanks @Snaggolicious#4987 - added
intents.jpg
to be used withReadme.md
- Servers that are
Hidden
via/server settings hidden
will be omitted when aNON STAFF
member uses an autocomplete that provides server names. - added a
dev
print toAMP
Login's if they fail. - fixed typo in
/bot permissions
when attempting to sync commands to the current guild. - changed formatting of
dev
prints inside ofloader.py
- added fix for
dict
issues inside ofAMP_server_cog.py
for method_banner_generator
.- Edge case when generating banners and creating an new instance at the same time.
- changed formatting of
dev
prints on multiple files for better readability. - Updated
Display Banners
--- fixed issue with
Banners
not displayingDonator Only
when the flag was set. - split
Donator Only
andWhitelist Open/Closed
into seperate methods and placedDonator Only
below Whitelist. - changed layout of banners slightly; moved the setting
AMP Description
below the Server Name to be used as a possible version indicator/similar.- changed
AMP Description
to no longer word wrap to next line; it will truncate when it hits the Shadow box on the right of Banners.(Sorry)
- changed
- fixed issue with
host
color not updating on banners, DB was usingHost
instead ofhost
. Thanks @hotdamnitsaaron#1501 - added
Donator color
to/server banner settings
.
- fixed issue with
Update 4.4.6
- changes to
AMP_server_cog.py
- Added except
discord.errors.NotFound
- Removed all
server_display_update.stop()
calls to prevent the task loop from exiting. Thanks @HunterAP and @FeminalPanda#7879
- Added except
- changes to
discordbot.py
- Fixed typo in
/bot utils clear
reply message.
- Fixed typo in
- changes to
banner_creator.py
- Fixed typo in
_validate_image()
- Fixed typo in
- changes to
whitelist_cog.py
- Changed message for reply regarding
Auto-Whitelist
beingFalse
when a user uses/whitelist request
to better inform players/staff. - Fixed typo in
whitelist request message
that displays the Buttons/View
- Changed message for reply regarding
- changes to
amp_minecraft.py
- Changed logic in
check_whitelist()
method for validation.
- Changed logic in
- changes to
AMP.py
- Added
type hinting
togetWhitelist()
method - Added
Exception
raising when a Server fails to be added to theDB
- Added
- changes to
utils_embeds.py
- Changed layout of
server_status_embed()
embed fields for clarity on Instances vs Applications. Thanks @FeminalPanda#7879 - Changed layout of
server_display_embed()
embed fields for clarity on Instances vs Applications. Thanks @FeminalPanda#7879
- Changed layout of
- changes to
DB.py
- Updated to
2.7
- Fixed typo in
server_regex_pattern_table_creation
SQL statement; this is addressed when updating DB tov2.7
- Updated to
Update 4.4.5
- Fixed issue with
/bot utils clear
failing if you do not provide anamount
parameter.- Added
Default channel
if not provided to the channel the command was run in andtype
check theall
parameter
- Added
- Updated
Permissions.md
with all new Permission Nodes. - Updated
AMP_server_cog.py
- Added
Error handler
for_embed_generator()
when the Bot User is missing Discord Permissions. - Added
Error handler
for_banner_generator()
when the Bot User is missing Discord Permissions. - Fixed issue with
amp_server_display
not respecting theHidden
attr of an AMP Server.
- Added
- Updated
whitelist_cog.py
- Fixed issue with
/server whitelist add
and/server whitelist remove
. Thanks @Dann- Added
Whitelist check
back to both methods.- Currently there is an issue with the AMP API; unable to resolve at this time. See CubeCoders/AMP#806
- Added
- Fixed issue with
- Updated
AMP.py
/amp_minecraft.py
- Changed parameters for
AMP
objectcheck_whitelist
,addWhitelist
andremoveWhitelist
- Fixed issue with
logger.dev()
statement.
- Fixed issue with
- Changed parameters for
- Updated
AMP_tasks_cog.py
- Changed logic for when a In-Game message comes through to use the users Avatar first instead of using the Servers avatar Icon.
- Updated
start.py
- Added someo development args for handling tokens.
Update 4.4.4
- Fixed issue with
async_rolecheck()
failing if you had theModerator
role set by the Bot but nothing higher. - Removed un-used imports
Update 4.4.3
- Implemented a Hotfix for
cogs
failing to load and retrying to load thecog
- Added
failed_cog_load_list
and will retry failed to loadcogs
- Added
Update 4.4.2
- Fixed issue with
DBConfig()
object handling causing issues withGetSetting()
not returning proper values- Pointed all class Objects to reference
DB.DBConfig
- Pointed all class Objects to reference
Update 4.4.1
- Fixed issue with
-super
not being handled properly by theDBHandler
- Changed logic on
line 1056
- Changed logic on
Update 4.4.0
-
Refactored
AMP Instance
Permission setup.-
Fixed issue with
Gatekeeper
not setting up properAMP
permissions. -
Renamed the AMP bot role to
Gatekeeper
-
Fixed individual
AMP Instance
permission issues. -
Added
check_SessionPermissions
method for startup validation -
Renamed
check_AMPpermissions
tocheck_GatekeeperRole_Permissions
-
Renamed
setup_AMPpermissions
tosetup_Gatekeeper_Permissions
-
Cleaned up
dev
logger prints and naming schemes forinfo
messages. -
Added check for
-super
arg to bypass Instance permission checks. -
Cleaned up code for
CallAPI
method inside ofAMP.py
- Added
Exception
clause toCallAPI
withUnauthorized Access
- Added
-
Removed setting
Super Admin ID
andGatekeeper Role ID
fromgetRoleIDs
- New method called
setRoleIDs
to handle settingRole ID vars
- New method called
-
Changed
setAMPRolePermissions
- Now checks API call properly and prints a
critical
if failed to set.
- Now checks API call properly and prints a
-
Added support for
expired
Session IDs with AMP Instances preventing Gatekeeper from interacting with said Instance. -
Refactored
Gatekeeper
AMP Instances toDB
handling.- Can now handle
Duplicate Instance Names
ifFriendly Name
is set for one of the Duplicate Instance and is unique.- Changed how discord based
Autocompletes
for AMP Servers is handled.- Added
TargetName
toAMP
classes for helping identify similar named Instances. - Rebuilt
AMPHandler.get_Instance_Names()
to handle new system. - Rebuilt
utils.serverparse
to handle the new system. - Should allow for duplicate
AMP Instance Names
- Updated
Server List
autocompletes to handle these changes.
- Added
- Changed how discord based
- Can now handle
-
Removed
Display_Description
fromAMPInstances
- Now uses the description set inside of
AMP
as the description (Usually you set this when creating/Updating the Instance).
- Now uses the description set inside of
-
AMP Instance Validation can now notice and handle deleted
AMP Instances
while running.- Now handles sudden
starting
andstopping
of Instances.
- Now handles sudden
-
Moved
dev
prints to better locations inside ofAMP Console
class
-
-
Refactored
Gatekeeper
-
Added support for
slash types
method parameters. This should provide a better choice list and autocomplete.- Converted all cogs with
discord User
,discord Role
anddiscord Channel
command parameters to useslash types
instead of autocompletes.
- Converted all cogs with
-
Removed all
test()
commands and development relatedprint
statements. -
Fixed issue with
/bot cog unload
not unloading cogs properly. -
Changes to
DB_server_cog.py
- Changed
/dbserver swap
to/dbserver change_instance_id
- Updated to support new
AMP Server Autocompletes
- Changed to using Buttons and Views
- Updated to support new
- Changed
-Changes to
DB_user_cog
- Updated logic to handle newuser
parameter type. - Fixed logic inside of/user update
. - AddedException
handling for failed SQLite constraints. - NEW To reset/remove a usersmc_ign
orsteamid
passNone
in as the parameter to the command. - Removedmc_uuid
parameter from/user update
-
Changes to
Permissions_cog.py
- Updated
typehinting
of classPermissions
- Updated
-
Changes to
regex_cog.py
- Added
@app_commands.describe()
to all parameters ofregex_pattern_add()
to assist users. - Changed formatting of reply on
regex_pattern_remove()
- Changed formatting of reply on
regex_pattern_update()
- Changed formatting of reply on
regex_pattern_list()
- Added
-
Changes to
discordBot.py
- Moved
db_bot_donator
and renamed tobot_donator
- Moved
bot_utils_uuid
and nested under/bot utils
- Moved
-
Changes to
AMP_Tasks_cog.py
- Updated
typehinting
of classAMP_Tasks
- Updated
-
Changes to
loader.py
- Removed un-used
imports
- Updated
typehinting
- Removed un-used
-
Changes to
utils_embeds.py
- Switched from using
custom channel/role parse
functions to usingcontext.guild
object respectively - Updated
server_info_embed()
- Added
Whitelist Hidden
- Renamed
Server Host
toHost
- Changed layout of embed
- Added
- Updated
server_status_embed()
- Changed Embed
title
format
- Changed Embed
- Updated
bot_settings_embed()
- Removed embed field
Whitelist_emoji_pending
andWhitelist_emoji_done
. - Changed embed field
whitelist_channel
towhitelist_request_channel
.
- Removed embed field
- Updated
user_info_embed()
- Fixed issue with not displaying
In Database
if you were not in the Database.
- Fixed issue with not displaying
- Switched from using
-
Changes to
utils_ui.py
- Added new class
DB_Instance_ID_Swap
- Used with
/dbserver change_instance_id
- Has two Buttons
Approve
andCancel
- Used with
- Added new class
-
Changed to
utils.py
- Removed un-used
imports
- Removed un-used
prints()
- Changed formatting on
autocomplete_servers()
- Updated
typehinting
on classdiscordBot()
,botUtils()
- Removed un-used
-
Changes to
AMP_server_cog.py
- Fixed an issue with
/server display
if you changed thetype
it would display both types. - Removed
autocomplete_message_type()
and replaced withchoices()
to prevent issues. - Fixed a
type
issue with commands and itsregex
commands. - Changed to new
AMP Server Autocompletes
- Updated logic for
amp_server_start()
- Formatted the time of
display_description
foramp_server_backup()
- Updated logic for
- Fixed an issue with
-
Changes to
banner_cog.py
- Removed un-used
imports
- Updated
typehinting
of classBanner()
- Fixed typo with
self.DBConfig()
- Fixed edge case issue with
_validate_image()
failing if you renamed a Banner file while the bot is running. - Fixed offset of
Whitelist Closed
display on Banner Images. - Updated
vars
to reflect changes toAMP Description
- Moved the methods
bot_banner()
,bot_banner_autoupdate()
andbot_banner_type()
tobanner_cog
- Renamed
/bot banner
to/bot banner_settings
to fix issues with group commands.
- Renamed
- Removed un-used
-
Changes to
whitelist_cog.py
- Updated
typehinting
of classWhitelist()
- Removed
events
on_message_edit()
andon_message()
- Updated logic inside of
whitelist_waitlist_handler()
for new Request style - NEW - Replaced
/whitelist channel
with/whitelist request_channel
for displaying Whitelist Request Approve/Deny messages.- Players will now use a slash command to handle all whitelist requests.
- Respect all previous whitelist settings.
- Gives
Staff
the ability toApprove
orDeny
- Updated
DB
to match naming scheme. - Updated
vars
to respect new commands and removedDB
attrs. - Removed
/whitelist pending emoji
- Removed
/whitelist done emoji
- Updated
-
-
Updated
DB
to Version2.6
- Changed
DB
valueBanner Type
fromstr
toint
- Changed
DB
valuePermissions
fromstr
toint
- Changed
DB
valueIP
toHost
- Removed
Description
value fromServers
Table. - Added
Unique
constrait toUsers
columnMC_IngameName
- Updated all
Gatekeeper
slash commands to match these changes. - Updated
bot settings
embed to reflect these changes. - Changed
GetAllServers()
to return adict
- Changed
GetServer()
to useInstanceID
instead ofName
- Removed
DBConfig
settingWhitelist_emoji_pending
andWhitelist_emoji_done
- Changed
AMP Instance
attrIP
toHost
- Updated all related attr interactions.
- Changed
-
Added Resources
- Added
Minecraft_banner2.jpg
to our selections.
- Added
Hotfix Update 4.3.8
- Fixed Issue with
/bot permissions
failing when used prior to syncing commands. - Refactored code inside of
discordBot.py
andDB_user_Cog
- Fixed
type
issue with/server donator
command. Thanks @Dann - Fixed
type
comparison with/bot settings
command. Thanks @Dann - Fixed
URL
issue with AMP Instance not displaying the proper Banner Image. Thanks @Ice - Changed
avatar_urls
for AMP Modules to use Github.