web analytics

Minecraft 1.13 .mcfunction Essentials Script

Minecraft 1.13 .mcfunction Essentials v0.0.2-r14

Discuss on Minecraft Forums (GitHub)

Written by Nigel Todman (www.NigelTodman.com)

Development Server: MC.NIGELTODMAN.COM

Minecraft 1.13 .mcfunction Essentials v0.0.2-r14

Written by Nigel Todman (www.NigelTodman.com)

Development Server: MC.NIGELTODMAN.COM


Line 6 of triggers.mcfunction, Specify your world spawn coords after the line
World Specific Coords Start

Lines 17/18 of setup.mcfunction
Set to 0 to disable the following options
scoreboard players set @a basicincomeamt 1200
scoreboard players set @a freeshulkerbox 1
scoreboard players set @a usebasicincome 1


Copy the contents of /datapacks/ into your own /datapacks/ folder

/reload or restart your server.

Run /function v0923:setup

That’s it.


Players can obtain a Warp Book with /trigger getwarpbook

Players can obtain a Shop Book with /trigger getshopbook

Players can enable All Player Balances with /trigger sidebar

Disable with /trigger sidebar set 2


v0.0.2-r14 6/3/2018 9:08:51 AM

Added Nether Quartz Ore AP/Money reward
Updated Melon harvesting per latest block changes
Added Elytra, Shulker Boxes and Tridents to the Shop
Added Many new Warps (World specific)
Added Page 2 to Warp Book
Added TDF /trigger to allow players to stop rain.

v0.0.2-r13 XX/XX/2018 8:07:46PM


v0.0.2-r12 2/16/2018 7:32:21AM

Updated entity selector syntax per latest snapshot
CustomName NBT tag now using JSON
Warp/Shop Book now given during setup.

Development Server mc.nigeltodman.com using new seed. Testing new World

v0.0.2-r11 1/19/2018 4:24:02PM

Sidebar display now defaults to off
Added rewards (AP/$) for mining emerald ore

v0.0.2-r10 12/15/2017 8:33:49AM

Added rewards (AP/$) for harvesting planting red/brown mushrooms
Added rewards (AP/$) for harvesting pumpkins
Added Compass and Bed to shop
Made setup.mcfunction less verbose.
setup.mcfunction now displays trigger instructions instead.

v0.0.1-r09 12/14/2017 8:08:10PM

Fixed initial setup logic for new players
Sets scoreboard objective ‘one’ to 1 every tick.
Compares setupinit to one. If setupinit not at least one. setup
All values are 0 for new players. until 1 tick and one is set.

v0.0.1-r08 12/14/2017 8:51:30AM

Rank and AP system working.
Regular XP/Level is depleted via various game mechanisms…
But your Rank will never decrease 🙂
AP is awarded for various tasks. Killing, Planting, Mining, etc
AP for Rank 2 is 300. Doubles every Rank.
Added rankup.mcfunction
Added Rank, AP and AP req to Rank Up to action bar
Tab List now displays Rank
Added placeholders to Shop. Added Shop Page 2

v0.0.1-r07 12/14/2017 4:00:50AM

Cleaned up gameloop.mcfunction
Added triggers.mcfunction
Added resettriggers.mcfunction
Swapped filenames setup and setup2.
Removed sidebar completely in favor of ‘actionbar’
Action Bar now displays elevation (y coord) and character balance.
Players can toggle sidebar with /trigger sidebar set 2 (2=off, 1=on)
Added XP Bottle to shop $100
Added Enchanting Table to shop $2000

v0.0.1-r06 12/13/2017 9:07:01PM

Added rewards for farming/harvesting
Added farmcount.mcfunction
Added harvestcount.mcfunction
Added orecount.mcfunction
Moved TotalKills display to Tab List
Moved Money display to Side Bar
Added Village Warp #1
Added Redstone to Shop
Added Reward for Lapis Mining
Updated Warp Book
Updated Shop Book
Conditional Bug: If you travel too far away from your ‘home’ – The marker (entity) is no longer returned by target selectors. Preventing TP.

v0.0.1-r05 12/13/2017 7:10:46AM

Improved home teleport logic

v0.0.1-r04 12/13/2017 12:20:34AM

Added home and sethome functions/triggers!
Tested working with non-ops + multiple players
Use /trigger sethome and /trigger home
Home warp added to warpbook. sethome only by typed trigger
Added script revision to shop/warp book name.

v0.0.1-r03 12/12/2017 4:32:08AM

Rewrote the shop
Script now actually works for non-opped players too!
Added getshopbook and getwarpbook triggers.
Script is now tested with a non-op player.

v0.0.1-r02 12/12/2017 1:54:05AM

Moved setup.mcfunction into setup2.mcfunction
Server now runs setup.mcfunction for every player. setup2 is skipped if
setup already ran. Otherwise call setup2
Enabled some config values.
Timed events coming soon.
v0.0.1-r01 12/11/2017 11:12:51PM

Added shopbook
Players obtain with /function v0923:shopbook
Added gold to the shop
Money now rewarded for planting trees.
Added treecount function
Removed extra woodcount function call

v0.0.1-r00 12/11/2017 8:52:11PM

First release, Published to GitHub
Infinite Game Loop, Attached to TickCount
Basic Economy
Money rewarded from killing mobs, mining ores, chopping trees, breaking stones
Basic Shop, Uses /trigger buy 1-10 to buy preset items.
(1 bread, 2 torch, 3 coal, 4 iron. So far.)
Warps to Spawn and RandomTP
Teleport Book with clickable links for both.
Player HP on Tab List
Sidebar display with Kill Count and Player Balance

Discuss on Minecraft Forums (GitHub)


Minecraft 1.13 Function Loop skeleton

Minecraft 1.13 Function Loop skeleton


  1. Simply drop veritas0923 into your ‘datapacks’ folder
  2. Run /function v0923:setup


  • gameloop function
  • looping with game ticks
  • ticks counted to 100 then reset.
  • stores player coords
  • displays tickcount on sidebar
  • To use a skeleton for your own project. Simply rename v0923 in ticks.json and rename the v0923 to your own namespace.

    Written for/tested on Snapshot 17w49b



    This infographic about Papa Johns is going viral

    Originally published at Medium.com

    Add me on Facebook
    Follow me on Twitter

    This infographic about Papa Johns founder John Schnatter is going viral. Shared by the Facebook Page ‘The Other 98%’, As of writing it currently has over 110,000 Shares and 58,000 ‘Likes’ or other emoticon related reactions.

    I’ve gathered some of the responses to demonstrate the general tone of the replies as well as picked a few favorites.

    Many cite their deplorable business practices and treatment of their employees as reasons for their boycott of the Papa Johns franchise.

    For others, they cite his support of the Celebrity White Supremacist President Trump.

    Some of those that had the unfortunate experience of eating Papa Johns chimed in.

    Even some former Papa Johns employees found time to reply

    Out of all the responses I saw. This was my favorite

    Meanwhile the Papa Johns Stock Price (Symbol: PZZA) has fallen off a cliff. Just barely above its annual low ($59.36) at $61 currently.

    Nigel Todman is an Independent Journalist, Technical Consultant, Social Activist, Web Developer and Computer Programmer from Ontario, Canada. Add him to Facebook and/or Follow him on Twitter E-mail: veritas [at] vts-tech [dot] org [PGP] This article can be republished under a Creative Commons Attribution 4.0 International License, With a link back to this article and attribution to Nigel Todman


    GramGrabber – Instagram Downloader

    Homepage: www.NigelTodman.com

    GramGrabber – Instagram Downloader Changelog

    v0.0.2-r02 2/22/2019 10:02:39 PM

    Added Social Media Links
    Added BitCoin Address
    Resized main form slightly
    GramGrabber.exe 714638F1
    wget.exe 47EC1FA4

    v0.0.2-r01 2/22/2019 9:02:48 PM

    Ported to .NET Framework v4.6.1 from VB6
    Added support for Instagram’s URL Signatures
    Updated User-Agent to Firefox 64
    GramGrabber.exe 69B3B36A
    wget.exe 47EC1FA4


    Added option to ‘Open after Download’
    Uses default program associated with jpg or mp4
    Now using wget 1.19.1-win32
    GramGrabber.exe FBFA240A
    wget.exe 47EC1FA4


    Renamed to GramGrabber
    ‘Instagram Downloader’ was too generic


    First Release!
    Takes Instagram URL.
    Grabs HTML. Parses for image/video tags.
    Downloads found source image/video.
    Deletes HTML after.
    Returns file name. Saves to application folder.

    Uses wget and some GNU libraries.



    NMSAdvCfg – No Man’s Sky Advanced Config Tool

    Steam Community Discussion


    Added verification for NMS.exe v1.58 Experimental (Steam)
    Added verification for NMS.exe v1.57 (Steam)
    Added Tessellation option
    Resized main form slightly
    Changed background
    Changed text color

    NMSAdvCFG.exe 64CAEBF8


    Added Gamepad Vibration
    Added Hidden HUD
    Added Music Volume
    Added SFX Volume
    Resized main form slightly
    Using larger background image
    Added verification for NMS.exe v1.36 Experimental (Steam/GoG)
    Added verification for NMS.exe v1.35 (Steam/GoG)
    NMSAdvCFG.exe 09D18CB4


    Added verification for NMS.exe v1.34 Experimental (Steam/GoG)
    Added verification for NMS.exe v1.33 (GoG)
    Now using icon from NMS.exe for NMSAdvCfg.exe
    NMSAdvCFG.exe 2C6A998B


    Added button to Delete Shader Cache
    Added button to Delete All Settings
    Added ‘Desktop Resolution’ option
    Added verification for NMS.exe v1.33 Experimental
    NMSAdvCFG.exe FFC17AEC


    Fixed a bug in HBAO detection.
    Added Low Work Threads option.
    Reorganized label controls slightly
    NMSAdvCFG.exe 1B707F9C


    Aesthic update
    Resized main form slightly
    Using higher quality background image
    NMSAdvCFG.exe 7582EB89


    Added ‘Gsync’ Option toggle
    Added ‘Hold to Select’ menu tweak
    Added NMS.exe v1.32 Verification
    Added ‘Reload’ and ‘Quit’ Buttons.
    Further cleaned up config file output.
    Should match encoding used by NMS.exe exactly now.
    NMSAdvCFG.exe CABAF04D


    Changed instances of ‘Medium’ to ‘Normal’
    Medium in Menu is written as ‘Normal’ in config.
    Cleaned up config file output. Stripping new lines and re-adding
    Config file is reformatted by NMS.exe upon each launch.
    Keeps settings as long as they are valid.
    Added CRC32 Verification to release.
    NMSAdvCFG.exe 0845A82F


    Reads all settings from TKGRAPHICSSETTINGS.MXML
    Detects v1.24/v1.31 Steam version of NMS.exe
    First functional build. Writes settings to No Man’s Sky config.
    Supports values/options not possible in the game.

    Such as FOV > 100
    Texture Streaming toggle
    High Dynamic Range toggle
    Paging Size
    Worker Threads
    Generation Detail


    First release.
    Debug release. Read only.
    Reads all settings from TKGRAPHICSSETTINGS.MXML
    Detects v1.24/v1.31 Steam version of NMS.exe

    Steam Community Discussion


    VGS-Tetris v0.0.2-r12 – Now with Online High Scores!

    Simple 2D Tetris Game I’ve written in Unity – Open Source.


    Added Online High Scores
    Added ShowOnlineScores()
    Added DownloadHighscoresFromDatabase()
    Added UploadNewHighScore()
    Uses dreamlo.com to store scores


    Added Pause Menu (Press Esc)
    Fixed bug where screen wasn’t flashing on Level 1 for quadruple lines


    Added ‘High Scores’ Panel
    Added ShowHighScores();
    Added Score Multiplier with Level Up
    Added Score Multiplier for double/triple/quadruple Lines
    Now using standardized colors for Tetrominos
    Screen now flashes on quadruple lines

    Source Code


    UNTURNED.NIGELTODMAN.COM – New Unturned PvP Server.

    UNTURNED.NIGELTODMAN.COM – New Unturned PvP Server.

    Difficulty: Normal
    Perspective: Both
    Loadout: GPS, Axe, Pants
    PvP: Non-KoS preferred. Not enforced.

    Unturned Server now has some mods 🙂

    /home /tpa /kits /warp /buy /sell /cost /bal /pay /trin /trout

    To teleport to player: /tpa playername
    To accept said teleport: /tpa accept, Deny: /tpa deny
    To teleport to claimed bed: /home
    View avail kits: /kits
    Kits are: lumberjack, fisherman, police

    Sell to shop with /sell itemid #
    Buy from shop with /buy itemid #
    Check your balance with /bal
    Check your transactions with /trin & /trout

    Vote for this server here: Vote #1 Vote #2 Vote #3


    Cloth (66)
    Metal Scrap (67)
    Sticks (38,40,42)
    Seeds (330,336,341,343,345)
    Loonie (1056)
    Toonie (1057)
    $5 Note (1051)
    $10 Note (1052)
    $50 Note (1054)
    $100 Note (1055)
    Raw Beef (1120)
    Pork (1117)
    Raw Bass (1351)
    Raw Goldfish (1349)
    Raw Minnow (1347)
    Farmers Clothes (242-244)
    Smoke Grenades (261-267)
    Flares (255-258)
    Pine Rifle (480)
    Ace (107)
    Sportshot (484)

    All other items store buys for $2


    Gas Can (28)
    Blowtorch (76)
    Civilian Ammunition Box (44)
    Military Ammunition Box (43)
    Ranger Ammunition Box (119)
    Campfire (362)
    Cloth (66)
    Metal Scrap (67)
    Sticks (38,40,42)
    Seeds (330,336,341,343,345)
    Raw Bass (1351)
    Raw Goldfish (1349)
    Raw Minnow (1347)
    Raw Beef (1120)
    Pork (1117)
    Pine Rifle (480)
    Ace (107)
    Sportshot (484)
    Arrow (347)


    Minecraft 1.12 Pre-Release 7


    We’re now drawing to a close with 1.12, with hopefully the final pre-releases. We’re aiming to get the full 1.12 release out to you all this friday (2017-06-02)!

    Changes in 1.12 pre-release 7

    Gave all challenges experience rewards
    Fixed bug MC-59535 – Server log outputs TextComponent object rather than its Text property for player lost connection/Disconnecting message
    Fixed bug MC-117764 – No error is logged when using knowledge book with invalid recipes
    Fixed bug MC-118002 – Pausing game while moving causes screen shaking
    Fixed bug MC-118021 – Parrot spawn egg appears after rabbit spawn egg in English (US)
    Fixed bug MC-118036 – Disconnecting from server prints TranslatableComponent{key=’multiplayer.disconnect.banned’, …} in log
    Fixed bug MC-118038 – Crafting items with no recipe file shows empty toast
    Fixed bug MC-118057 – Unexpectedly high CPU usage in menus
    Fixed bug MC-118067 – Pressing t in Spectator mode allows you to use recipe book search
    Fixed bug MC-118068 – Recipe book uses always t for focusing search instead of chat keybinding
    Added some new #covfefe!

    Changes in 1.12 pre-release 6

    Optimized recipe book & creative inventory searching a lot, especially when using mods
    Made a bunch of text translatable, where previously they were hardcoded English
    Optimized chunk loading, a previous pre-release slowed it down 🙁
    Added the ability to see credits by clicking the copyright text in the title screen
    Technical: Skipped functions (when the conditional fails) is now considered a failure (for example in command blocks)
    Technical: Tab-completing command names in command blocks will no longer add a / prefix.
    Fixed bug MC-40275 – Credit screen/End Poem music not playing correctly
    Fixed bug MC-94016 – Glass panes and iron bars connect to barrier blocks
    Fixed bug MC-115816 – During the destruction of the beds, cracks do not appear
    Fixed bug MC-116479 – Parrots dismount when y coordinate decreases
    Fixed bug MC-116489 – Unknown entity property for entity_properties loot table condition causes server crash for default loot tables
    Fixed bug MC-116625 – Animation speed of Crafting Guide items is dependant on framerate.
    Fixed bug MC-116669 – Exploding TNT minecarts and ender crystals can cause StackOverflow
    Fixed bug MC-116696 – Animated textures in resource packs aren’t animated in advancement icons
    Fixed bug MC-116834 – “Showing Craftable” button shows uncraftable items of same recipe group
    Fixed bug MC-117004 – Narrator is toggled when typing in text fields
    Fixed bug MC-117125 – Narrator still crashes on linux, flite installed
    Fixed bug MC-117265 – Typing in search bar in recipe book displays next variant for recipes with multiple variants
    Fixed bug MC-117310 – gamerule gameLoopFunction does not tab complete function names
    Fixed bug MC-117314 – stat.craftItem is missing most items
    Fixed bug MC-117568 – Survival tutorial steps shown in creative mode
    Fixed bug MC-117584 – Converting zombie villager without ConversionPlayer set crashes server
    Fixed bug MC-117611 – Extreme Lag on Multiplayer Server
    Fixed bug MC-117627 – Moving items in inventory with open recipe book displays next variant for recipes with multiple variants
    Fixed bug MC-117636 – construct_beacon advancement trigger is triggered when player gets near beacon instead of when building beacon
    Fixed bug MC-117640 – Pets (wolves, ocelots, parrots) teleport onto magma blocks
    Fixed bug MC-117661 – Conditional function command only runs the function if the selection matches exactly one entity
    Fixed bug MC-117663 – Conditional function commands do not work inside of functions
    Fixed bug MC-117677 – Jumping does not increase progress in tutorial
    Fixed bug MC-117687 – Recipe Book tries to use damaged bows to craft dispensers despite this being invalid
    Fixed bug MC-117703 – Cannot kill invulnerable parrot with cookie in Creative mode
    Fixed bug MC-117704 – “excitedze” easter egg triggers when language is already “Pirate Speak”
    Fixed bug MC-117710 – Bonus Chest setting is not copied when re-creating world
    Fixed bug MC-117711 – “Snowy Kingdom” Superflat preset arguments include villages despite them being unable to generate in ice plains
    Fixed bug MC-117713 – skipping function triggers conditional command blocks
    Fixed bug MC-117714 – Clicking on dispenser recipe while only having enchanted bow in inventory places other ingredients anyways
    Fixed bug MC-117718 – Breeding animals without LoveCause set cause crash
    Fixed bug MC-117727 – @s is described as “a player in /execute” despite working for all entities
    Fixed bug MC-117752 – Knowledge book isn’t consumed upon right-click
    Fixed bug MC-117764 – No error is logged when using knowledge book with invalid recipes
    Fixed bug MC-117785 – Clicking arrows in recipe book have no click sound
    Fixed bug MC-117789 – Crash: java.lang.IllegalAccessError: tried to access field com.sun.jna.Pointer.peer from class com.sun.jna.PointerTool
    Fixed bug MC-117812 – Weird criteria names in certain advancements
    Fixed bug MC-117823 – Single-ingredient recipes cannot be stacked by repeatedly clicking on the recipe
    Fixed bug MC-117827 – Nonexistent (or misnamed) tipped arrow recipe
    Fixed bug MC-117843 – Parrots lose their Name Tag upon dismounting a player’s shoulder
    Fixed bug MC-117854 – Fences connect to barriers
    Fixed bug MC-117858 – Right-clicking an item stack into the creative mode item selector destroys the whole stack
    Fixed bug MC-117877 – Naming Parrots, becoming unnamed.
    Fixed bug MC-117883 – Advancement descriptions are able to go out of the Minecraft window
    Fixed bug MC-117960 – Strange vines behaviour
    Added some new bugs!