XtraConsole [v1.2] [API 4.1]

XtraConsole

How XtraConsole works, is that an administrator performs /set-console <name> to set the ‘name’ of the console. This name is then stored into a config file labeled xtraconsole.conf under the configs folder. When an administrator performs /say <message>, their message will be prefixed with the name of the console that they had previously set, rather than the default vanilla one. Here is an example of this in action:

(Note that the message in chat was performed with /say Consul MASTER)

:wrench: Links
Github
Downloads

:hammer: Commands
There are two commands within XtraConsole:

  • /say <message> - This overrides the vanilla /say so that this plugin can use the custom console prefix.
  • /set-console <name> - Sets the name of the console. The name of the console will be used when performing /say.

:closed_lock_with_key: Permissions
Two easy permissions for the commands above:
xtraconsole.say
xtraconsole.set

XtraConsole is a plugin built on the request of:

If you have any suggestions/commented for XtraConsole, post them below!

1 Like

Release 1.0.2:
Download

Changes:

  • Fix a bug where the config wasn’t saving properly.

Maybe make it change Command Block Output too?

25.05 23:21:26 [Server] Server thread/WARN [Sponge]: Plugin ‘XtraConsole’ seems to be missing a valid mcmod.info metadata file. This is not a problem when testing plugins, however it is recommended to include one in public plugins. Please see the in-existent SpongeDocs link for details.
25.05 23:21:26 [Server] Server thread/ERROR [Sponge]: Found plugin with invalid plugin ID ‘XtraConsole’. Plugin IDs should be lowercase, and only contain characters from a-z, dashes, underscores or dots. Please see the in-existent SpongeDocs link for details. The plugin will be still loaded currently, however this will be removed soon. Please notify the author to update the plugin as soon as possible.

Release 1.1 is now available. :checkered_flag:
Download

Changes:

  • Update to SpongeAPI 4.x.

Release 1.2 is now available. :checkered_flag:
Download

Changes:

  • Backend has been switched over to XtraCore. XtraCore is still in heavy development and bugs may be present. Please report any issues to this forum thread or to GitHub! Note that you do not need to download XtraCore to run this plugin, as it’s shaded in. More on XtraCore and what it is will be revealed further on in its development (when a release is made and proper documentation has been created).
  • Added functionality for GameReloadEvent. Perform /sponge plugins reload to reload the configuration for XtraConsole.

Other information about the update can be found on the download page.

On a side note, I like how small the configuration has really turned into: :stuck_out_tongue:

Hi! I like your plugin, only thing I don’t like is that after i do /set-console and then I do /say And in chat it says TropieR: and not the name of console I set.

Are you certain that an essentials plugin isn’t overriding the command? Try /xtraconsole:say <message> and see if that produces the correct result.

Oh, now it worked, thx. I tought essentials plugin doesn’t overwrite /say…