Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "Pixelmon Broadcasts"

From Pixelmon Wiki
m (Shortened the intro a bit.)
(Added a guide for translating the mod using the current system. (will likely change in the future))
Line 5: Line 5:
 
Pixelmon Broadcasts is a [[sidemod]] for [[Pixelmon]] that adds an assortment of configurable messages for tons of Pixelmon events, and also logs these events to console if set up to do so.
 
Pixelmon Broadcasts is a [[sidemod]] for [[Pixelmon]] that adds an assortment of configurable messages for tons of Pixelmon events, and also logs these events to console if set up to do so.
  
==Installation==
+
== Installation ==
 
{{SidemodVersionh}}
 
{{SidemodVersionh}}
 
{{SidemodVersion|1.12.2|6.3.0+|0.1.1}}
 
{{SidemodVersion|1.12.2|6.3.0+|0.1.1}}
Line 18: Line 18:
 
#Open the ''PixelmonBroadcasts.conf'' file in the server's ''config'' folder, and edit to taste.
 
#Open the ''PixelmonBroadcasts.conf'' file in the server's ''config'' folder, and edit to taste.
 
#Use the <code>/pixelmonbroadcasts reload</code> command to load any changes into Pixelmon Broadcasts.
 
#Use the <code>/pixelmonbroadcasts reload</code> command to load any changes into Pixelmon Broadcasts.
 +
 +
== Translation ==
 +
Almost all of the non-console messages in Pixelmon Broadcasts can be edited, and a Dutch translation comes pre-included. This process is entirely optional.
 +
 +
==== Using an existing translation ====
 +
#Shut down the server.
 +
#Open the mod's .jar file with a program like 7-Zip or WinRAR.
 +
#Navigate to the ''assets/pixelmonbroadcasts/lang'' folder.
 +
#Move ''en_US.lang'' somewhere safe, and delete it from the .jar.
 +
#Find a language file for the language you want to use.
 +
#Rename the file to ''en_US.lang''.
 +
#Move the changed file back to the location of the original.
 +
#Boot the server.
 +
 +
==== Creating or editing translations ====
 +
#Shut down the server.
 +
#Open the mod's .jar file with a program like 7-Zip or WinRAR.
 +
#Navigate to the ''assets/pixelmonbroadcasts/lang'' folder.
 +
#Move en_US.lang somewhere safe, and delete it from the .jar.
 +
#Make a copy of en_US.lang.
 +
#Open this copy with a text editor of choice.
 +
#Make any changes you want to make to this file.
 +
#If necessary, rename the file to ''en_US.lang''.
 +
#Move the changed file back to location of the original.
 +
#Boot the server.
 +
 +
 +
'''Please note that the translation system is very likely to get changed in future versions, and that work done here may not necessarily carry over!'''
  
 
== Commands ==
 
== Commands ==

Revision as of 11:55, 6 June 2018

Warning: This sidemod is a work in progress, and may cause issues. Proceed with caution, and report any bugs.
Pbr broadcasts.png
Pbr toggles.png

Pixelmon Broadcasts is a sidemod for Pixelmon that adds an assortment of configurable messages for tons of Pixelmon events, and also logs these events to console if set up to do so.

Installation

Minecraft version Pixelmon version Pixelmon Broadcasts version
1.12.2 6.3.0+ 0.1.1


Pixelmon Broadcasts is meant to be run on a server. It may work on the client, but this is currently untested. SpongeForge is required.

  1. Download Pixelmon Broadcasts for your version of Minecraft and Pixelmon.
  2. Place the downloaded .jar file in the mods folder, along with SpongeForge.
  3. Start the server and wait for it to load.
  4. Open the PixelmonBroadcasts.conf file in the server's config folder, and edit to taste.
  5. Use the /pixelmonbroadcasts reload command to load any changes into Pixelmon Broadcasts.

Translation

Almost all of the non-console messages in Pixelmon Broadcasts can be edited, and a Dutch translation comes pre-included. This process is entirely optional.

Using an existing translation

  1. Shut down the server.
  2. Open the mod's .jar file with a program like 7-Zip or WinRAR.
  3. Navigate to the assets/pixelmonbroadcasts/lang folder.
  4. Move en_US.lang somewhere safe, and delete it from the .jar.
  5. Find a language file for the language you want to use.
  6. Rename the file to en_US.lang.
  7. Move the changed file back to the location of the original.
  8. Boot the server.

Creating or editing translations

  1. Shut down the server.
  2. Open the mod's .jar file with a program like 7-Zip or WinRAR.
  3. Navigate to the assets/pixelmonbroadcasts/lang folder.
  4. Move en_US.lang somewhere safe, and delete it from the .jar.
  5. Make a copy of en_US.lang.
  6. Open this copy with a text editor of choice.
  7. Make any changes you want to make to this file.
  8. If necessary, rename the file to en_US.lang.
  9. Move the changed file back to location of the original.
  10. Boot the server.


Please note that the translation system is very likely to get changed in future versions, and that work done here may not necessarily carry over!

Commands

Note: Command syntax is displayed in the standard Minecraft command format. An explanation of this format can be found here.

  • /pixelmonbroadcasts or /pbroadcasts: Shows subcommands that the player has access to. Clickable.
    • toggle: Opens a window with clickable toggles for all available broadcasts, based on permissions.
    • reload: Reloads all main config settings and messages.

Permissions

Command nodes

These nodes will give players access to specific subcommands.

  • pixelmonbroadcasts.command.toggle - grants access to the broadcast toggle menu
  • pixelmonbroadcasts.command.staff.reload - allows the use of /pixelmonbroadcasts reload, should be staff-only

Notifier nodes

These nodes will allow players to see the matching broadcasts, and will allow them to toggle said broadcasts if the toggle permission was also given.

Blackout nodes

Shown when a player's party is wiped out by an opponent of the given type. Works well with the SafePlace sidemod.

  • pixelmonbroadcasts.notify.blackout.shiny
  • pixelmonbroadcasts.notify.blackout.shinylegendary
  • pixelmonbroadcasts.notify.blackout.legendary
  • pixelmonbroadcasts.notify.blackout.boss
  • pixelmonbroadcasts.notify.blackout.trainer
  • pixelmonbroadcasts.notify.blackout.bosstrainer

Catch nodes

Shown when a Pokémon of the given type is caught.

  • pixelmonbroadcasts.notify.catch.shiny
  • pixelmonbroadcasts.notify.catch.shinylegendary
  • pixelmonbroadcasts.notify.catch.legendary

Challenge nodes

Shown when a player starts fighting an opponent of the given type.

  • pixelmonbroadcasts.notify.challenge.shiny
  • pixelmonbroadcasts.notify.challenge.shinylegendary
  • pixelmonbroadcasts.notify.challenge.legendary
  • pixelmonbroadcasts.notify.challenge.boss
  • pixelmonbroadcasts.notify.challenge.trainer
  • pixelmonbroadcasts.notify.challenge.bosstrainer

Defeat nodes

Shown when a player defeats an opponent of the given type.

  • pixelmonbroadcasts.notify.defeat.shiny
  • pixelmonbroadcasts.notify.defeat.shinylegendary
  • pixelmonbroadcasts.notify.defeat.legendary
  • pixelmonbroadcasts.notify.defeat.boss
  • pixelmonbroadcasts.notify.defeat.trainer
  • pixelmonbroadcasts.notify.defeat.bosstrainer
  • pixelmonbroadcasts.notify.defeat.pvp

Forfeit nodes

Shown when a player forfeits a battle with an opponent of the given type.

  • pixelmonbroadcasts.notify.forfeit.shiny
  • pixelmonbroadcasts.notify.forfeit.shinylegendary
  • pixelmonbroadcasts.notify.forfeit.legendary
  • pixelmonbroadcasts.notify.forfeit.boss
  • pixelmonbroadcasts.notify.forfeit.trainer
  • pixelmonbroadcasts.notify.forfeit.bosstrainer

Spawn nodes

Shown when an entity of the given type spawns in the world.

  • pixelmonbroadcasts.notify.spawn.shiny
  • pixelmonbroadcasts.notify.spawn.shinylegendary
  • pixelmonbroadcasts.notify.spawn.legendary
  • pixelmonbroadcasts.notify.spawn.boss

Hatch nodes

Shown when an egg of the given type hatches.

  • pixelmonbroadcasts.notify.hatch.normal
  • pixelmonbroadcasts.notify.hatch.shiny

Start nodes

Shown when a battle of the given type starts.

  • pixelmonbroadcasts.notify.pvp.start

Draw nodes

Shown when a battle of the given type ends in a draw.

  • pixelmonbroadcasts.notify.pvp.draw

Trade nodes

Shown when a trade completes. Currently does not do anything special for shiny Pokémon.

  • pixelmonbroadcasts.notify.trade.normal

Version history

Please click this link.

© 2012 - 2025 Pixelmon Mod