Git Product home page Git Product logo

raspberryjammod's Introduction

raspberryjammod

Raspberry Jam Mod - a Mod Forge Minecraft 1.8+ mod implementing most of Raspberry Juice/Pi API

To install for single-player and LAN use (as well as for client-side use with a server):

  1. Set up a Minecraft profile of the correct Minecraft version and run it once.
  2. Install the lastest version of Minecraft Forge for your precise Minecraft version (http://files.minecraftforge.net/)
  3. Put the contents of mods.zip in your .minecraft/mods folder (there will be a number of subfolders like 1.8, 1.8.9, etc.--they should all go there).
  4. Put the sample scripts in in your .minecraft/mcpipy directory.
  5. Install Python if you need to. On Windows, steps 3-5 can be automated by using the .exe installer.

To install on a server:

  1. Download a Forge installer from http://files.minecraftforge.net/
  2. Run and it point it to a directory where you want your server to be, select "Server", and it will download and install a Minecraft server.
  3. Create a mods/ folder in the server directory and put RaspberryJamMod.jar for your server version there.
  4. Put some sample scripts in a mcpipy/ subdirectory of the same folder as your minecraft server. Make sure to include all mcpipy/mcpi.
  5. If your server is open outside your LAN make a passwords.dat file and place it in your server directory, and make sure each of your users has a .minecraft/mcpipy/mcpi/security.py file that matches it. See SECURITY.md for more information.
  6. Instead of running minecraft_server_X.Y.jar to start the server, run the forge jar.

On a server, /py launches a script in the server's mcpipy/ directory, while /lpy launches a script in the client's .minecraft/mcpipy/ directory. Note that /lpy only works if the client has the mod installed (otherwise, the user has to submit script for curation and inclusion on the server, or launch them manually outside of Minecraft, making sure their script contains the server IP; this is automagically handled if the script is launched via /lpy.

raspberryjammod's People

Contributors

arpruss avatar swiftloke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspberryjammod's Issues

Create the used folders

A little request from me: can you create the folders what you use during init? (if they don't exist)

Suggestions for cleaning up this git repository

Could you please move the models into a separate repository?
From what I can tell they are not directly related to the project, right?

When cloning the git repo, it's a 89MB download and uses up 155M of disk space.
There's a 90MB file in the .git/objects/pack/ directory which probably consists of models.
And there's a 60MB models subdirectory.

Also mcpipy contains lots of (large) examples. What do you think about just keeping one or two small examples and moving the rest into their own repository?

The (cryptically named) directories 19, 194 and 110 seem to contain the repository https://github.com/MinecraftForge/MinecraftForge (different branches?).

The directory gpl-stuff/sunfish contains a copy of https://github.com/thomasahle/sunfish
Something weird happened to the license file in that directory. It contains lots of entities.

The directory src/main/java/org/java_websocket
contains a copy (without LICENSE or attribution) of https://github.com/TooTallNate/Java-WebSocket

What do you think about using those repositories as a git submodules? That way you automatically get their fixes and improvements.

Once everything that doesn't belong to the core project is moved elsewhere there is less than 500kb of data (160kb of java source code) remaining. Much easier to dive into!

Thank you for building this project and for your consideration.

NameError: name 'security' is not defined

Tying to use raspberryjammod on non-bukkit server. I followed install instructions and located code asking for security, but I don't really know how to avoid this error (install issue or needs another module??).
Traceback (most recent call last):
File "helloworld.py", line 5, in
mc = minecraft.Minecraft()
File "/home/user/.minecraft/mcpipy/mcpi/minecraft.py", line 193, in init
if security.AUTHENTICATION_USERNAME and security.AUTHENTICATION_PASSWORD:
NameError: name 'security' is not defined

Many Thanks,
Javier R.

Unable to specify python version to use.

I've found that castle.py does not work with Python3. I have tried specifying the version in both the *.py files and in ~\AppData\Local\py.ini (Windows 10, sorry) but neither have any effect. See the attached files. (I added .txt to the end of the filenames to allow them to be attached) Any idea how to specify the python version to use?

Creating the py.ini file caused calling python at the shell to use python 2.7. Please help.

version.py.txt
version2.py.txt
version3.py.txt
py.ini.txt

mc.events.pollBlockHits() always returns empty array

Problem

The event.pollBlockHits() function always returns an empty array. This is either a bug or a feature to be implemented, not sure which. The setup tested on is v1.8 using Forge, as directed in the instructable post.

Example

I run the following script as I smash blocks

from mc import *
import time


mc = Minecraft()
mc.postToChat("Running Scratch2!")

while True:
    hits = mc.events.pollBlockHits()
    mc.postToChat(hits)
    time.sleep(5)

I see the 'Running Scratch2!' message, but the array returned from pollBlockHits is always empty [ ].

Remove a Block

Is there a method to delete blocks? If so, what is it? And if not, how would you do it?

A little better server compat

So I get the mod (very great :) ) and run it on a vanilla public server. The thing is. The server is a network. The mod only works once in the hub. As soon as you switch, POOF! It's gone... I tried restarting the sockets no luck. Can you make an easier way to restart the mod?

How to use camera

i cant get it to work, and the example uses some weird pygame functions that gave me errors

whereami call returns an error

Hi,

I have installed RaspberryJamMod-Installer.exe 0.82 and was able to execute donut and shuttle (though i died because of suffocation).
Anyway, when i execute /py whereami, I have the following error :

[ERR] Traceback (most recent call last): [ERR] File "whereami.py, line 4, in <module> [ERR] mc.postToChat(mc.player.getTilePos()) [ERR] File "C:\Users\.....\.minecraft\mcpPY\mcpi\minecraft.py", line 385, in postToChat [ERR] self.conn.send("chat.post", msg.replace("\r", " ").replace("\n", " ")) [ERR] AttributeError: 'Vec3' object has no attribute 'replace'

I am very new to Python and Minecraft API.
I tried mc.postToChat("HELLO WORLD !") and it works correctly.

Thank you

Documentation/Info Request

Hi there-

really like the work you've done with this, and the well written, extensive Instructible. I managed to use it + OpenCV to make a 'live TV' in Minecraft ;-)

I'm setting up a MineCraft teaching server, and to keep things fun and manageable I'm thinking of doing something like:

Bukkit (spigot?) + multiverse + backup + management plugins.

I'd like there to be several worlds: Introduction world, creative world, python world, etc.

I'm also trying to make it so that kids can replicate parts of this (relatively) easily at home.

So I'd like to use raspberryjammod on the server as they can set up the same at home.

I saw on a minecraft forum that you now support multiple worlds- e.g. nether, and overworld (which I only know about in name... I haven't played the game that much yet!) and that it should support other worlds as well.

So a few questions:

What are the other worlds? How do you set them up with a forge/original server?

Do you know if your scripts be used with the Bukkit RaspberryPiJuice plugin?
It seems your scripts (turtle drawing, etc) are more advanced... e.g. things like filled surfaces. Is that in the python scripts or the plugin?

Do you have any thoughts of porting RaspberryJamMod to Bukkit?

Any thoughts or suggestions appreciated; I know what I want to build, but I'm finding the mixed history of all the moving pieces a bit hard to navigate!

Thanks in advance,

Julian

Nothing for FTB/1.7.10?

FTB is pretty much all using 1.7.10, I wanted to install this mod to potentionally show my beam.pro chat inside minecraft, but apparently there's not even a version for 1.7.10 :/
Is it hard to build a .jar for 1.7.10? If not... Pleaaaasee :)

Set Frame block - NO WORK

Frame Block ID (Minecraft Java 1.12.2) = 389

mc = minecraft.Minecraft()
pos = mc.player.getPos() + Vec3(1,0,1)
mc.setBlock(pos,389)

NO WORK !!!

getBlockWithNBT nbt data to be in usable form

When I use mc.getBlockWithNBT, the data I get back (e.g. for chest contents) is not easily parsable.

I see that the nbt.py lib is included, but it will not parse 'serialized' nbt's.

I did not have good luck trying to deserialize into native Python data structures.

The data is not valid JSON (The arrays have index number "names", names are not quoted... see below)

I tried the external nbtlib, but couldn't get it to read.

Is there a recommended way of parsing and manipulating the NBT data returned from getBlockWithNBT? I'm willing to work with the project lead to make this happen.


Script

from mine import *

mc = Minecraft()

# I have placed a chest here, with some items in it
storeloc = Vec3(18,14,1)

mc.setting("include_nbt_with_data",1)

# get the storage block
blk = mc.getBlockWithNBT(storeloc)
print("found: ", blk)
print("blk is a ", blk.__class__)
print("NBT is ", blk.nbt)
print("NBT is a ", blk.nbt.__class__)

Output:

14:08:26.985
[mobi.omegacentauri.raspberryjammod.ScriptExternalCommand:func_184881_a:275]: Running mcpipy\NBTDemo.py
14:08:27.904
[CHAT] found:  Block(54, 2, '{Items:[0:{Slot:11b,id:"minecraft:stone",Count:10b,Damage:3s},1:{Slot:14b,id:"minecraft:hardened_clay",Count:5b,Damage:0s},2:{Slot:25b,id:"minecraft:sapling",Count:11b,Damage:0s}],id:"Chest",Lock:""}')
14:08:27.904
[CHAT] blk is a  <class 'mcpi.block.Block'>
14:08:27.904
[CHAT] NBT is  {Items:[0:{Slot:11b,id:"minecraft:stone",Count:10b,Damage:3s},1:{Slot:14b,id:"minecraft:hardened_clay",Count:5b,Damage:0s},2:{Slot:25b,id:"minecraft:sapling",Count:11b,Damage:0s}],id:"Chest",Lock:""}
14:08:27.904
[CHAT] NBT is a  <class 'str'>

New commands

Hey
Is there some 'easy' way to add new commands to the mod?
I'm doing a game in Mc with command blocks and redstone, but it would be a lot easier and less space consuming if I could execute these commands externally like what you can do with Raspberryjam and python. However I use a lot of commands that are not in Mcpipy.
If it's not possible to add new commands, do you know some other mod or program that I can use to do this?

Installation on Mac

I'm working on installing on a Mac (MacOS Mojave), and am having issues. I copied the files listed in README (into mods/ and mcpipy/), but that does not appear to be sufficient. Did I miss something?

I also tried running "sh build.sh", but get a syntax error on line 4.

I'm using the latest version of Minecraft and Forge: 1.14.3. It is a version compatibility issue? Does this only work on Minecraft 1.12.2 and lower?

How to compile the proyect in 1.12.2

How can i build with 1.12.2 when i use gradlew build in the main directory of the proyect that I downloaded but it compile a version for 1.8 or 1.9.
i change the version in buildgradle.properti to 1.12 and it have problems to compile in the gradlew build like import net.minecraft.util.BlockPos;import net.minecraft.util.IChatComponent;import net.minecraft.network.play.server.S43PacketCamera;

"FML has found a non-mod file RaspberryJamMod-0.08.jar in your mods directory"

Hello, this is the error I ran into:

[Client thread/INFO] [FML]: FML has found a non-mod file RaspberryJamMod-0.08.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

Had a hard time figuring out how to install your mod, had to do a lot of Googling.
So I did install gradle and JDK (as gradle asked for it) and ran gradle build in the same directory as build.gradle.

Got the build/libs/RaspberryJamMod-0.08.jar after completion, which I placed in the minecraft/mods folder.

I don't know with which version your mod is supposed to work with (that might be the issue), I'm running Minecraft 1.7.10.

Thanks a lot in advance. I really want to do some Python in Minecraft, and your mod is the closest I have been to realizing that small dream of mine :)

unuknown command

When I use Python to develop according to this tutorial, in step 5, enter / py in minecraft to display unknown command. Why? Every step I take is right.

Doesn't work on servers

When I try to enter /py anything I just get some variation of "command not found".. do you know of any server where this mod works? :)

Bug with pollBlockHits()

When using pollBlockHits() on the mod there are unnecessary events broadcasted. If I hit a block once then there are two events: one of hitting the block and the other is (x, y, z, 7, 0) where x,y,z are the entity's coordinates (my coordinates). Also the correct way pollBlockHits should work is using left-click not right click.

mc.getPlayerEntityIds() doesn't work when player died in single-player mod

try this:
`
import mcpi.minecraft as minecraft
import mcpi.block as block
import time
mc = minecraft.Minecraft.create()

while (1):
time.sleep(0.2)
try:
entitys = mc.getPlayerEntityIds()
except:
print("err")
for nplayer in entitys:
print(mc.entity.getTilePos(nplayer))`

Once you get killed (by TNT for example) and try to respawn, at first getPlayerEntityIds() would throw an exception(show 'err' in the script above) and then the function wouldn't work. (function getTilePos would always output the same location even the player moved)

build.sh fails on Linux

There are no build instructions for RaspberryJamMod.jar.

So I ran build.sh
On Linux, build.sh starts 19/fast.sh which in turn tries to run the gradlew.bat for windows (which fails).

Btw, what's up with these numerical directory names? I can't tell what sub-projects they contain.

mod not working on 32bit Windows 7 system

I have a dozen of old notebook computers at my disposal that I want to use to do a programming workshop for kids with Minecraft and Python. They have 2 GB of memory and run Windows 7 (32bit).

I first started using the Raspberry Juice mod for bukkit. However, memory is very low and I figured it would be better not to run a standalone server in addition to the client on the same machine.

So I tried to install the Raspberry Jam Mod. I used the latest java 8 (-101), the latest forge (I believe 1.10.2 - 12.18.1.2092) and the installer provided by Raspberry Jam Mod release 0.8.2 (installing Python 3).

Minecraft crashes during loading. The last entry in the log is about the raspberry jam mod. However, there is no stack trace.

The mod works without problems on a beefier PC with the 64bit version of Windows 10 and Java 8.
Any ideas?

Use this mod on servers that aren't your own

There's an anarchy server that allows modifications like this on the server I play on and I want to make a chatbot that interacts with different players. The program works fine on singleplayer worlds but when I try to activate it on that anarchy server it just says "Unknown command" when I try to run the script. I understand that the server has to have the raspberryjammod to run but I was wondering if there is any way I can use this mod client side.

Make the library pip-installable

Thank you for this work!

I want to propose an alternative, Python-centric, way for installing the plugin and the Python library. For users who have Python already installed, this approach could could feel more natural, than current approach.

Once the user has Minecraft and Forge set up, she runs pip install raspberryjam, which dowloads and installs the Python library into current interpreter or virtual environment (instead of .minecraft directory). After this she would execute following commands to download and install the mod:

import raspberryjam
raspberryjam.installMod()

It would be also nice, if the mod allowed specifying the scripts directory for \py game command (so that the user doesn't need to deal with a hidden folder deep under). This could be done either from the mod Config view in Minecraft (which currently crashes the game (1.12)), or by:

import raspberryjam
raspberryjam.setScriptDirectory("C:/Users/Aivar/Minecraft")

(BTW, does \py command currently allow anything else beside running a script in certain directory?)

If you like this proposal but don't have time for implementing it, then I could create the first prototype myself. (You only need to instruct me how to change the script lookup policy inside the mod.)

Request: add config to select Absolute or Relative position.

I know that MC-Pi Edition defaults to relative position because the Spawn Point is (0,0,0). This results in the wrong coordinates in desktop editions unless you do /setworldspawn 0 0 0 to set the Spawn Point.

I see that the latest commit of raspberryjuice allows you to select relative or absolute position using a configuration file.

https://github.com/zhuowei/RaspberryJuice/tree/master/src/main/java/net/zhuoweizhang/raspberryjuice

Can you please add this functionality to raspberryjam? In the meantime, I removed the subtraction of the spawnpoint in Location.java to force absolute positions and then re-built.

Thanks

Exposing detection of held objects

As a general feature request, if there was a way to expose what a player is holding? I see that in private function "holdingSword" we're getting player.getHeldItem(). But that doesn't seem to be exposed anywhere else from the python side. Unless I'm totally missing where it's exposed or how to access it.

about location

It is necessary to switch ABSOLUTE coordinates or RELATIVE coordinates!

When I use player.setPos(0, 10, 0), the player does not reach the pos(0, 10, 0) in the game(F3 shows).

cant get color in chat to work

im trying to do a simple postToChat('§eHello world')
but a weird things occurs
image

i dont know if theres any function that does the same thing as /tellraw but help would be appreciated.

ArrayIndexOutOfBoundsException: 0. In Location.getWorldByEncodedAltitude

While using mc.entity.spawnEntity("falling_block", ... ) frequently, like spawn 5 to 10 times per game tick, that is 40 to 200 times per second. It may occur java.lang.ArrayIndexOutOfBoundsException: 0.

[11:08:36] [Thread-24/INFO] [STDOUT]: [mobi.omegacentauri.raspberryjammod.APIHandler:spawnEntity:923]: Helo
[11:08:36] [Thread-24/INFO] [STDOUT]: [mobi.omegacentauri.raspberryjammod.APIHandler:spawnEntity:925]: ren
[11:08:36] [Thread-24/INFO] [STDOUT]: [mobi.omegacentauri.raspberryjammod.APIHandler:rename111:909]: Searching for FallingSand
[11:08:36] [Thread-24/INFO] [STDOUT]: [mobi.omegacentauri.raspberryjammod.APIHandler:rename111:913]: found minecraft:falling_block
[11:08:36] [Thread-24/INFO] [STDOUT]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:515]: java.lang.ArrayIndexOutOfBoundsException: 0
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: java.lang.ArrayIndexOutOfBoundsException: 0
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.Location.getWorldByEncodedAltitude(Location.java:26)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.Location.decodeVec3w(Location.java:72)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.APIHandler.spawnEntity(APIHandler.java:932)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.APIHandler.runCommand(APIHandler.java:779)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.APIHandler.process(APIHandler.java:504)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.APIServer.socketCommunicate(APIServer.java:146)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.APIServer.access$000(APIServer.java:41)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at mobi.omegacentauri.raspberryjammod.APIServer$1.run(APIServer.java:113)
[11:08:36] [Thread-24/INFO] [STDERR]: [mobi.omegacentauri.raspberryjammod.APIHandler:process:516]: at java.lang.Thread.run(Unknown Source)
[11:08:36] [Server thread/INFO] [FML]: Applying holder lookups
[11:08:36] [Server thread/INFO] [FML]: Holder lookups applied
[11:08:36] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
[11:08:36] [main/INFO] [FML]: Server terminated.
[11:08:36] [Client Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
[11:08:36] [Client Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players

Maybe, if the game lag due to using spawnEntity command frequently, the length of var serverWorlds will be 0, in Location.getWorldByEncodedAltitude.

Unable to build 1.11 and 1.12 using build.sh

Hi,

I just trying to compile using build.sh under Cygwin/Windows.
It seems that following configs are incorrect:

https://github.com/arpruss/raspberryjammod/blob/master/111/build.gradle
https://github.com/arpruss/raspberryjammod/blob/master/112/build.gradle

Can you correct Forge version from 2151 to exact version in both files?
Also please correct mappings values and dependecy from ForgeGradle:2.2-SNAPSHOT to ForgeGradle:2.3-SNAPSHOT in /112/build.gradle as long 2.2 does not support MC 1.12.

Another request: please remove "--offline" within line: "sh gradlew --offline build" in:
https://github.com/arpruss/raspberryjammod/blob/master/112/fast.sh

Last one:
Change build.sh in root to unix end of lines (currently it contains Windows EOL, which cause error running under Cygwin).

Regards,
Marcinosoft

Implement entity.getName to find entity name?

The RaspberryJuice plugin support the entity.getName(entity-d) call to return the name of players or other entities. It is useful in a multiplayer setup. Would you be willing to add this command to RaspberryJam mod?

Inventory Management

Is there a way to access item data inside a players inventory? For example: {Items:[dirt:64]}. I'm not trying to see other players inventories just my own. If not is there a way I could code it in?

Make code more Pythonic

I'd like to make the python scripts in https://github.com/arpruss/raspberryjammod/tree/master/python2-scripts/mcpipy and https://github.com/arpruss/raspberryjammod/tree/master/python3-scripts/mcpipy comply with PEP8.

I'd also like to discuss what can be done to improve scripts like https://github.com/arpruss/raspberryjammod/blob/master/python3-scripts/mcpipy/castle.py#L5 (specifically line 5) and https://github.com/arpruss/raspberryjammod/blob/master/python3-scripts/mcpipy/mc.py#L7 to teach good coding habits like avoiding import *.

What do you think of this? I know I could do it in my fork, but I'd rather not split our resources and further confuse the young coders (and parents) about which project they should use.

I really think that RaspberryJamMod is the best way to get people started with programming Minecraft via Python. I have purchased my daughter 2 books on the subject. I believe you are familiar with Adventures in Minecraft which suggests using a Bukkit server (though Martin O'Hanlon now offers the option of using a CanaryMod server). Just a few days ago Learn to Program with Minecraft was released. It instructs readers to run a Spigot server. I have tried all 4 methods and I truly think that your solution of using Forge is the best. However, I think that it's very important the all the Python code in this project be exemplary.

To be clear, I think your work is very impressive, even amazing. It's just that it has the feel of my personal projects where I get things working and don't go back to make sure I've done things Pythonicly. When I do work professionally, or to open source, I go through and have a clean-up phase where I try to consider the needs/conventions of the community. I think with a little work RaspberryJamMod + Forge could and should be the basis for every Minecraft programming book, course, and summer camp (which I was shocked to discover not only exists but there were half a dozen different ones being taught in my area alone).

Would you be open to engaging in this with me?

Changing default port 4711

Is it possible to change the port that RasberryJamMod listens to to something different from 4711? (I have another server already listening on that same port)

can't execute lpy command

when I type "lpy donut",it happen this error.How can I solve it? I use Minecraft 1.12.2 and Forge 14.23.2.2624
tim 20180309141022

init for py

wow very cool job! really like the work ~

would it be possible for loading the python script(s) when the world initializes?
(e.g. loading a series of scripts from a configure file)
it's possibile to utilize the mod to create new mod-like scripts for pythoners, but it would be inconvenient to ask the players run "/py" command and play the scripts. so would it be possible to add the feature in future?

thx

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.