promotional bannermobile promotional banner

Brainfuck

Brainfuck

Brainfuck

Features

This plugin allows players to code in the glorious language of brainfuck! Brainfuck (http://esolangs.org/wiki/brainfuck) is an esoteric programming language, which is to say that it's not quite a serious language to program in. However, it was easy to implement, and I happen to like brainfuck, and so that's what we have here.

This plugin is delightfully pointless, just like the language. If a user has the permission 'brainfuck.block', then they can even set blocks in the game world with the ':' instruction!

Commands

  • /read: displays your currently written code.
  • /clear: clears your currently written code.
  • /add TEXT: adds TEXT to the end of your code. If "+>" were already written and you did /add -<, the code would be "+>-<"
  • /delete #: deletes # characters from the end of your currently written code.
  • /execute TEXT: executes your currently written code, with TEXT as the input.

Usage

My version of brainfuck differs slightly from the original, in that... - If a character appears in the code that is not an operator, its ascii value is copied into the current cell. Example: "h." would copy h's ascii value into the cell, and output it. - The ':' instruction will set the block at (cell[0], cell[1], cell[2]) to be the block type ID of cell[3]. The starting cell is cell[0]. For example, the code:

++>+++>++++>+:

will set the block (2, 3, 4) to be ID 1 (stone.) This takes place in the player's current world.

Example usage:

/add ++++++++++[>++++++++<<++++++++>-]<[>>->>+:<<<<-]
/execute
/clear
/add 0>,<[>-<-]o>[<.>-]
/execute 5

Permissions

brainfuck.block - Allows use of ':' to set blocks in the world.

Is in-game programing your type of thing? You'll be pleased to know that I'm working on a more serious plugin for actual programming as well as in-game computers similar to ComputerCraft! Here's a sneak-peek: http://i.imgur.com/9T1ZrGn.png

The Brainfuck Team

profile avatar
  • 2
    Projects
  • 19.2K
    Downloads

More from _ForgeUser6843832

  • Command Cooldown project image

    Command Cooldown

    • 17.9K
    • Bukkit Plugins

    Set a cooldown on specific commands! Specific ranks can have specific cooldowns!

    • 17.9K
    • March 27, 2013
    • Bukkit Plugins
  • Command Cooldown project image

    Command Cooldown

    • 17.9K
    • Bukkit Plugins

    Set a cooldown on specific commands! Specific ranks can have specific cooldowns!

    • 17.9K
    • March 27, 2013
    • Bukkit Plugins