Updates
- The database is now in the default 'Database:' section (Type, Host, Port, Bank, User, Password), the same as in other products.
- With the global bank of StarPlugins connected, the name of the bank is also filled in by the loader. Before, only host, user and password were changed, and plugin tried to open the old bank with the new user.
- The old 'database:' section is converted alone on the first climb, with a copy of the file in config.yml.antes-bank.
- Fixed: on server 1.8.8 using SQLite, the database did not open or the data was not saved (the SQLite that comes with 1.8.8 is old). Tested on 1.8.8 and 1.20.4.
- Menu items accept custom head:
textura(Value of minecraft-heads.com, URL or hash) ordono(player's nickname). See starplugins.com.br/tutorial#cabecas
- New bonus for viewing: /influencer request (link) (bonification) [description] requests the bonus for already validated content (e.g.: 100k). You can also click on the content validated in /influencer validations.
- Staff menu /influencer bonuses: create bonuses (50k, 100k, 1m...) with reward commands, and approve or deny pending requests.
- The request arrives at Discord with the Approve, Deny (with reason) and Open link buttons. Channel in discord.bonus_channel_id (empty = validation channel). Offline player receives the reward when he logs in.
- Fixed the "Unknown interaction" error when approving validations on Discord: the bot responds immediately, and a second click does not add the same validation twice.
- DMs from Discord now find the user even outside the cache, and those who have not linked the account no longer fill up the console with warnings.
Fixed: passing a validation did not add to progress — the Discord message continued at 0/21 and the player did not see anything change in the /influencer profile. The player's 30 day cycle was never found in the database (the date comparison didn't work in SQLite), so each request created a new cycle and the approval had nowhere to add up. Now the cycle is found, progress increases and the message starts showing the new number (0/21 becomes 1/21).
Fixed: The end of the 30 day cycle was also not recognized, so the completed cycle reward was never delivered.
Fixed: approval with the player outside the user table was silently discarded; now it counts and the case is registered in the console.
Positions at cargos.yml (free, create new positions). Combined goal goal: adds videos+lives into the same total (e.g.: Supporter 20). Placeholders {position}/{positions}. Corrections: daily limit works in SQLite; {positions} on help lines; validation embed shows the player's nick and goal progress (0/20 and goes up when approved).
- Internal fixes and improvements (faster bot shutdown on reload).
Adjustment in the log: the message about the status column only appears when the change actually happens.
Without the Discord token configured, plugin continues to work: before, an invalid token would take everything down. The log now tells which bank is in use.
Now plugin uses SQLite by default: it no longer needs MySQL to work. Those who already used MySQL continue with it, and those who want to change touch database.type in the config.
- Fixed the integration with StarDiscord, which appeared as 'not found' even though it was installed: the search looked at the list of plugins of Bukkit, where the products of StarPlugins do not appear.
- The connection with StarDiscord now also happens on the first use, so it works even when it loads after this plugin.
- Compatibility with older servers: menus and sounds work again from 1.13 to 1.21
- Internal stability fixes
Version for loader StarPlugins.