Coder Social home page Coder Social logo

aopell / mccbl Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 502 KB

The Minecraft Command Block Language - An interpreted scripting language that imports commands into Minecraft command blocks

License: Apache License 2.0

C# 100.00%
minecraft minecraft-server minecraft-command parser

mccbl's People

Contributors

aopell avatar jozufozu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

glen3b

mccbl's Issues

MCCBL Parser/Interpreter

  • Rewrite file property information (@ tags)
    • Order should not matter, should be accessible from an array
  • Name/Value constants should be able to be defined at the top of a file anywhere in a file
    • #define INT_CONSTANT 34
    • #define STRING_CONSTANT Hello
    • say #STRING_CONSTANT# #INT_CONSTANT#
    • Provides copy/paste find/replace functionality for repeated code
  • Specify whether a conditional command block is repeating, maybe ??

MOTD

  • Parse MOTD files like other *.mccbl files to add features like math
  • Stop requiring a motd scoreboard
  • Add settings to control whether to show chat history and how many lines to show

Batch Import

Add option to import all *.mccbl files in a directory at the location of Marker: 1b ArmorStands of the same name.

Command Arguments

Add support for more command arguments in custom commands:

string[] args = chatMessage.Split(new string[] { chatMessage.TrimStart().Split(' ')[0] }, StringSplitOptions.None)
//Starting with arg1 replace all arguments with given arguments
for(int i = 1; i < args.length; i++)
{
  if(command.Contains("{arg" + i + "}")
  {
    command.Replace("{arg" + i + "}", args[i]);
  }
}

Importing

  • Whitelist of users that can import files
  • Change import messages to tellraw
  • Play sounds when errors on import (conditional position, etc.)
  • Cancelling import still prints chat messages about importing
  • Add option to change size of block of commands

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.