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!
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
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