FANDOM


Thanks for coming to this page before creating/editing a page. Unfortunately, not all work matches the style of the wiki, therefore I have created this page to avoid disappointment if we have to delete inappropriate pages, so please take a moment to read the information below.

Test edits here.

To Do Edit

  • Update all pages for 2.0 versions.
  • Add technical details to all module pages.
  • Add pictures/galleries to every page.
  • Add info to all stubs.

Creating a Page Edit

When creating a page, please bear the guidelines below in mind.

  • They should have something to do with Gamemode 4.
  • All facts should be true; a short page is better than a long one with fake stuff in there!
  • They should be lain out as shown below.

Layout for all module pages Edit

The first line(s) should be the description copied from: https://www.gm4.co/modules/.

Add relevant templates like: featuredarticle, stub, broken, unreleased, version, images, reliant, expansion, base, Public Server or conceptual.

Stats (sidebar) Edit

The stats should be put into a ModuleInfo template. You can add the module info using Insert>Template>ModuleInfo in the menu bar in the editor. The template should include the official name of the module (as found on https://www.gm4.co/modules/) and the thumbnail image of the module (Not-yet-released.png if the module isn't released yet and Indev.png for modules in development).

The template should also include the lag level, found on the website, the maker(s) and the game standard out of 5.

The module dimensions (currently) have the following format:

<sizeX>×<sizeZ> | <sizeY> High
Notice the times sign instead of x between sizeX and sizeZ. Leave anything you do not know blank, and the wiki will fill it in for you. For 2.0 versions of modules please use the tabber as seen here.

Details (header) Edit

Detailed details about the module. Can include subheadings.

Detail Subheaders Edit

Some subheaders for the details section could be:

Bugs - Include a bullet list of bugs

Gallery - A wikia gallery of pictures

Crafting - The module crafting recipes

Important - Bullet list of important info

Easter Eggs - List of Easter Eggs for the module, hidden via the spoiler template.

Trivia - Random facts about the module that honestly nobody cares about.

Technical Details (header) Edit

As this is a relatively new feature we are adding to pages, very little pages add it. Maybe somebody could change that? I'm working on that okay -Sugar!

Copy and fill in the table below. Change the placeholder text.

Clock type 1) (Type here) Clock

2) Add more if necessary

Clock speed 1) Clock 1's speed in Hz (Once every x ticks)

2) Add more if necessary

Commands per pulse 1) Clock 1's commands activated per pulse

2) Add more if necessary

Nested commands per pulse 1) Clock 1's nested commands activated per pulse

2) Add more if necessary

Notes

Commands per pulse/Nested commands per pulse Edit

The command per pulse are the amount of command blocks that get activated each pulse.

Nested commands per pulse is the amount of commands that get executed in excecute commands each pulse. For example: /execute @e ~ ~ ~ execute @a[r=3] ~ ~ ~ execute @e ~ ~ ~ say HI. The amount of nested commands is 3 (two times execute and 1 time say).

Command Overview (Subheader) Edit

Overview of all commands in this module (can be found in some of the video desc. of old modules).

Scoreboard Objectives (Subheader) Edit

Again, fill in the table. If no objectives are used, use the NoObjectives template.

Objective name Description
GM4_?? This objective is used to ...
Contraption overview (Subheader) Edit

Underneath the objectives should be an image with the overview of the contraption. Without text-wrap and the default size and should be aligned left.

See more (header) Edit

Use the links template to add links to videos and website downloads. Other links to pages should be in a bullet list below.

History (header) Edit

Put a table of history here, like below (first 3 letters of the month. DAY MONTH YEAR bold).

Date Change
21 Feb 2014 Created Bat Grenades
28 Mar 2015 Fixed death message to say "...was killed by exploding bat" instead of "

...was killed by creeper

Editing a Page Edit

&quot;edit&quot;

To edit stuff, just press the blue edit button on the top left of the page. (See left) When editing a page, please bear the guidelines below in mind.

  • Fact(s) should be true.
  • Keep layout organised.
  • Only edit stuff you know for sure.
  • Don't edit unnecessarily.

Updating pages for 2.0 modules Edit

If you wish to update pages to 2.0 modules please refer to 1.9 Modules for your information. If not much is changed (e.g: liquid tanks or bat grenades) use the same page for the information. Use the tabber on infoboxes by inserting the following code to your page:

<div style="width:280px; float:right;"><tabber>1.8 Version={{ModuleInfo
|title=Bat Grenades
|image=ModuleIcon1.png
|imagewidth=
|imagecaption=
|Lag Level=1/5
|Made By=[[User:Sparks00|Sparks]]
|Game Standard=1/5
|Module Dimensions=<nowiki>5×3 | 4 High</nowiki>
|Required Modules=
|Compatible Modules=
}}
|-|1.9 Version={{ModuleInfo
|title=Bat Grenades 2.0
|image=ModuleIcon1.png
|imagewidth=
|imagecaption=
|Lag Level=1/5
|Made By=[[User:Sparks00|Sparks]]
|Game Standard=1/5
|Module Dimensions=<nowiki>3×2 | 2 High</nowiki>
|Required Modules=
|Compatible Modules=
}}
</tabber></div>

Make sure to replace the bat grenades features with the module page you are on.

Any 1.9 exclusive features in the page should clearly be marked as 1.9 exclusive.

For modules that have been completely reworked for 1.9 (e.g: zauber cauldrons or equivalent exchange) create a different page for it, using the version template on both pages to allow users to interchange with ease.

Making Polls Edit

Add the following code to your page in classic editor to add a poll:

<poll>
 
Title
 
Choice 1
 
Choice 2
 
More choices here and below
 
</poll>

Scrollable Tables Edit

For tables that are too big/long to be seen on the page, add the following code above and below the existing table.

<div style="overflow:auto; height:400px;">
//Table here.
</div>

Feel free to interchange the "height:___px;" to however many pixels high you want it to be. The length will be done automatically.

Translating a Page Edit

TBD.

Adding Crafting Recipes To A Page Edit

Note: This is going to be made more easy soon.

Crafting recipes on this wiki use a special piece of HTML code to display the crafting grid and a JSON formatted line of text telling the grid what goes in each slot. This JSON format is very similar to the NBT item data containers have in Minecraft.

List of supported items.

Item Tag Lookup Table Edit

Name Type Example Description
id string {"id":"flint"} Required. The item code-name. Used for texture finding. Appears in toolip unless Name or DisplayName are used
Name string {"id":"stone_slab","Damage":"1", "name":"Sandstone Slab"} Used for items with a display different from the code name
DisplayName string {"id":"stone", "DisplayName":"Pet Rock"} Used for items with custom names. Italicizes display name.
Damage int {"id":"sand", "Damage":"1"} Specify damage value for texture change.
Count int {"id":"sand", "Count":"16"} Adds a number to indicate the amount.
Lore array {"id":"stone", "Lore":["It\'s a","rock fact!"]} A comma-separated list of lines of italicized, magenta-coloured tooltip text
ench array {"id":"stone", "ench": ["Unbreaking III", "Efficiency IV"]} A comma-seperated list of lines of grey tooltip text that changes the item name colour to cyan.
CustomPotion

Effects

array {"id":"potion", "Damage":"8228", "DisplayName":"Potion of poison", "CustomPotionEffects": [{"Id":"Poison", "Amplifier":"II", "Duration":"4:00"}]} A comma-seperated list of potion effect compounds requiring an "Id" tag and optional "Amplifier" and "Duration" tags.

Add a table for your recipes Edit

Recipes should be inside a table with 4 columns like so:

Name Ingredients Name Of Crafting Table (e.g. Custom Crafter) Description
The name(s) of resulting item(s) List of items required to craft this The Custom Crafting Grid Any notes pertaining to the crafting

Adding HTML code to the table column Edit

To add the HTML go to the top of the wiki page, press the little down-arrow next to the edit button and select "classic editor". Then, in the top-right of the editor change the tab from "visual" to "source". This will show you the bare-bones text code used on this page. Locate your table (this is much easier if you fill out the other fields in the table's row first) and find the line where your recipe display should go. Paste in the following code:

<div class = "crafter"><div class = 'tableGrid' data-recipe = '{"ingredients":[{},{},{},{},{},{},{},{},{}]}'></div><div class = 'craftingArrow'></div><div class = 'tableGrid' data-recipe = '{"ingredients":[{},{},{},{},{},{},{},{},{}]}'></div></div>

Most of this code is for creating the shape and colouring of the crafting recipe and shouldn't be changed. What's important here is the two sets of "ingredients" code. The above example will give you an empty crafting grid, an arrow and then a second crafting grid like so:

The 9 curly brackets in the "ingredients":[{},{},{},{},{},{},{},{},{}]" section of the code are for the 9 slots in the crafting grid starting top-left to bottom-right. Leaving a bracket blank will leave the slot blank.

Adding an item to a slotEdit

to add an item to a slot, place "id":"flint" into the bracket you wish to fill, replacing flint with the in-game id of the block or item. This code:

<div class = "crafter"><div class = 'tableGrid' data-recipe = '{"ingredients":[{"id":"flint"},{},{"id":"flint"},{},{},{},{},{},{}]}'></div><div class = 'craftingArrow'></div><div class = 'tableGrid' data-recipe = '{"ingredients":[{},{"id":"flint"},{},{},{},{},{},{},{}]}'></div></div>

places flint in the first and third slot of the first crafting grid and flint in the second slot of the second grid:

Notice that in JSON, variables and variable names are always in speech marks.

Adding a Display NameEdit

With flint, the game name "flint" and the display name "Flint" are the same (apart from capitalization). In some cases item names and display names are different, e.g. "golden_horse_armor" and "Gold Horse Armor". If a name is different to the display name, use the "Name":"Rose Red" format to correct it for an item. NOTE: For a CUSTOM name use the DisplayName tag discussed below!

{"ingredients":[{"id":"golden_horse_armor","Name":"Gold Horse Armor"},{"id":"golden_horse_armor"},{},{},{},{},{},{},{}]}

See how the names of the two items compare. Note also that underscores and capitalisations from the ID of the second item are fixed automatically.

Adding Item Damage Edit


By default items are assumed to have a damage value of 0. Damage values are used by items to assign attributes. Sand and Red Sand, for example are both "sand" items with different damage values. To Specify damage use the "Damage":"1" format:
{"ingredients":[{"id":"sand","Name":"Red Sand","Damage":"1"},{"id":"sand"},{},{},{},{},{},{},{},{}]}

Here the Damage tag has been used to change the texture of the first sand block, and the Name tag has been used to change the tooltip.

Adding Lore and EnchantmentsEdit

To add Lore use the "Lore":["line1","line2","line3","etc"] format. To add enchantments use the "ench":["enchant1","enchant2","etc"] format. Both of these add new lines to the tooltip, one for each comma seperated text inside the square brackets. Enchantment text appears in a non-italicized grey font and changes the item's name colour to cyan. Lore tags are italicized and magenta coloured.

{"ingredients":[{"id":"flint","Lore":["Just some regular flint","Nothing to see here."]},{"id":"flint","ench":["Unbreaking III","Efficiency IV"]},{"id":"flint","Lore":["Just some regular flint","Nothing to see here.","ench":["Unbreaking III","Efficiency IV"]},{},{},{},{},{},{},{}]}

The two can be combined:

Adding Potion EffectsEdit

Potion effects are contained in the "CustomPotionEffects" tag as a comma delimited list. Potion effects require a "Id" tag (capital "i" for some reason - thanks Minecraft). Optionally you can add a "Duration" tag which is the time in minutes and/or an "Amplifier" effect which should contain a roman numeral e.g. "II".

{"id":"potion","Damage":"8228","DisplayName":"Potion of Poison","CustomPotionEffects":[{"Id":"Poison","Amplifier":"II","Duration":"4:00"}]}

Creating A Single-Item DisplayEdit

You can use slightly different HTML to create a single-item square for displaying one item instead of a full crafting grid:

<div class = 'tableGrid singleTableGrid' data-recipe = '{"ingredients":[{"id":"bone"}]}'></div>

This will produce:

The differences is that the outer div has an extra "singleTableGrid" class for styling, and the ingredients JSON only has one ingredient bracket.

Don't ask why some tags are capitalised and others aren't: minecraft is strange.

Hopper displays Edit

Hoppers have 5 slots. Use this HTML:

<div class = 'tableGrid hopperTableGrid' data-recipe = '{"ingredients":[{"id":"bone"},{},{},{},{}]}'></div>

Display a Custom TextureEdit

For special cases (and currently for custom player heads) where there is no image for the item, the CustomImage tag can be used to display a different texture in the slot. Bear in mind that the slot still needs an "id" tag. A blank id tag should be used.

{"ingredients":[{"id":"","CustomImage":"http://i.imgur.com/UmGpPYh.png"}]}

Music Discs - Automated ExceptionEdit

Music discs by default in minecraft all have the Display Name "Music Disc" and then a grey lore of "C418 - " followed by the name of the record. For the wiki formatting all you need to do is specify the id as a record and those details will be automatically added.

<div class = 'tableGrid singleTableGrid' data-recipe = '{"ingredients":[{"id":"record_wait"}]}'></div>

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.