Minecraft Advertisements

From CyberWurx Customer Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:22, 16 November 2010 (edit)
Cwadmin (Talk | contribs)

← Previous diff
Current revision (13:31, 17 November 2010) (edit) (undo)
Cwadmin (Talk | contribs)

 
(2 intermediate revisions not shown.)
Line 12: Line 12:
The adverts script will choose one of those 3 lines to display on the server. Remember, you may get the same advert several times in a row. That is just the nature of random selection. The adverts script will choose one of those 3 lines to display on the server. Remember, you may get the same advert several times in a row. That is just the nature of random selection.
 +
 +=Colored Text=
 +Your adverts can be a different text color! Simply place a '''§''' and the color code before your text.
 +
 +For a list of color codes, go here: http://wom.thatgamer.com/colorguide.php remember, on your server use '''§''', not &.
 +
 +*Keep in mind if text wraps around to the next line, you will need to add an additional color code to keep that text from turning white.
[[Category:Minecraft]] [[Category:Minecraft]]

Current revision

[edit] Minecraft Advertisements

To use this feature, simply log into your server's FTP and open the file called adverts.txt

If you have not used adverts.txt before, it will be a blank file.

The adverts script will pick a random line from adverts.txt every 10 minutes and display it on the server. The way it works is plain and simple. Add your advertisements in adverts.txt line by line. Each newline counts as a new advertisement.

Example adverts.txt file:

Welcome to the minecraft server!
For more information about our server go to http://cyberwurx.com/
Remember to follow the rules.

The adverts script will choose one of those 3 lines to display on the server. Remember, you may get the same advert several times in a row. That is just the nature of random selection.

[edit] Colored Text

Your adverts can be a different text color! Simply place a § and the color code before your text.

For a list of color codes, go here: http://wom.thatgamer.com/colorguide.php remember, on your server use §, not &.

  • Keep in mind if text wraps around to the next line, you will need to add an additional color code to keep that text from turning white.
Personal tools