CodeBlocks 2
Part of the Minds of Chimera Project (dev)
CodeBlocks | MOCPlaytimeTracker | MOCDBLib | RegenBlock | MOCGoodEats | MOC3DImporter | ImageImport | MOCKiosk | MOCRater | MOCFizziks | GravitySheep | MOCChemistry | MOCRegistry
Description
CodeBlocks allows user to control robots through different functions user wrote using special custom blocks.
Please report any issues as well as suggestions here.
Each user has their own function space where they can add as many functions as they wants which can call each other or even themselves for recursion, as well as, a fleet of robots that can execute these functions. Multiple robots can run same function or each can run their own.
Dependencies
Spout - for custom blocks and GUI.
Permissions
CodeBlocks.All - Default OP CodeBlocks also tries to follow user permissions for editing the area. As such, user will not be able to operate robot where user cannot build/destroy.
Statistics Submission
CodeBlocks collects some basic server information (name, bukkit version) and CodeBlocks functions and sends them to the home server on server shut down.
Players can also submit feedback bu pressing Feedback button in the main CodeBlocks screen available through /cb or by pressing 'C'.
- To turn these features off set in config.yml
- allowUseStatisticsSubmit: false
- allowFeedbackSubmit: false
Commands
Configuration Files
Use
Blocks
Videos
2.1.5
2.0.3 - http://www.youtube.com/watch?v=1gpGVMIT2r8
2.0.2 - http://www.youtube.com/watch?v=wk_vhqfvUGs
2.0.2 - http://www.youtube.com/watch?v=XrW7YgA9IkQ
Please upgrade your plugin 1.8 regenblock!
Please upgrade your plugin 1.8 regenblock!
2.2.0 - Added is / is not option to True/False branches. Example: while not air front - would execute while branch as long as there is not air block in front. - Added function arguments (three), function variables (ten), return value (one). - Added math blocks to perform operations with variables. - Modified signs to include variables. - Logic commands should execute much faster now. Speed value of robot mainly controls commands like move, dig, not if, math etc.
CodeBlocks 2.1.6 uploaded
Fixed issue with pick up stack not combining with inventory on function end.
Very cool latest version! Happy to see this operational. Creating in-game tutorial.
New version uploaded 2.1.3. directives.yml and old functions in the database will need to be removed when updating to it
Version 2.1.2 uploaded
- Function and branch blocks add markers in the ground showing direction of the branch / function
- When robot stops / bumps into a wall - user receives a message
- When robot tries to build, but does not have item - it pauses the execution and sends message to the player
- Reworked commands /cb /cbf /cbr /cbb and /cbb all . Also pressing C will open CB main menu.
- When using a base block for a set of blocks, GUI will not listen to key presses - Each item in the drop down box has a number, pressing that number will close the gui and set block to matching item in the drop down
- Debug works a bit differently. When turning it on - user will be asked to place a Function Block where the debug base will be set instead of instantly setting it at player's current location.
- Fixed some minor bugs
Uploaded 2.1.0 version.
If you used previous versions, you will likely have to delete some of the MySQL tables for them to be recreated with new settings.
By default plugin will use sqllite. See database.yml to switch to MySQL.
Also I am working on adding different new features etc. much has been changed here and there so far, I just want to get it to some good spot before I release next version as I've been messing with SQL schema a bit etc.
Will try to upload new version some time this weekend. As always latest version is up on my server server.aiwing.org if you want to check it out first.
@robertono
If I understand correctly,
There is no way to limit how many blocks of a particular type robot has. I fact even inventory size itself for the robot as of right now has no limit, but it will be truncated once you look at it if I remember correctly.
@Raidendex
No . :D Sorry for bad english. How i can limit any block in inventory ? Example : in player inventory you can keep only 5 iron blocks. This plugin can this ?
Any feedback? :)