Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Does cuperite support Java plug-ins
Post: RE: Does cuperite support Java plug-ins

No, and it's unlikely we ever will. It's not just the programming language that is different, but also the underlying architecture.
NiLSPACE Discussion 1 157 08-20-2021, 06:45 PM
    Thread: attempting to make a plugin to spawn giants
Post: RE: attempting to make a plugin to spawn giants

I thought so as well, but the documentation showed individual coordinates: https://api.cuberite.org/cWorld.html#SpawnMob_1 But perhaps it's out of date.
NiLSPACE Plugin Discussion 6 413 07-14-2021, 03:20 AM
    Thread: attempting to make a plugin to spawn giants
Post: RE: attempting to make a plugin to spawn giants

Hi, welcome to the forum! The reason it's giving an error is because you're calling 'SpawnMob' on a player object. What you want is the world object, probably the world of the player on which you'r...
NiLSPACE Plugin Discussion 6 413 07-14-2021, 03:15 AM
    Thread: Block State transition
Post: RE: Block State transition

Is it a one-time conversion or would it have to be redone as soon as the chunk is unloaded and reloaded? If worldloading can prevent this perhaps it's more important than I initially thought.
NiLSPACE Development 5 366 06-29-2021, 05:41 AM
    Thread: Block State transition
Post: RE: Block State transition

If it were up to me I'd say: 1) No, world loading can be done at a later date. 2) Ideally yes, but if there are only a few minor bugs that can be fixed later that'd be fine as well. 3) What is the ...
NiLSPACE Development 5 366 06-29-2021, 02:39 AM
    Thread: Login
Post: RE: Login

The plugin sends the player to the current world's spawn. If you want to change that you'd have to modify the code here (https://github.com/NiLSPACE/Login/blob/master/hooks.lua#L135-L139) by changing ...
NiLSPACE Plugin Releases 106 69,034 06-02-2021, 04:35 AM
    Thread: FedeAC - Cuberite Anticheat
Post: RE: FedeAC - the best Cuberite anticheat

I thought Lua bytecode was cross-platform, but I can't find a definitive answer online, so perhaps not.
NiLSPACE Plugin Releases 15 2,090 04-20-2021, 12:17 AM
    Thread: FedeAC - Cuberite Anticheat
Post: RE: FedeAC - the best Cuberite anticheat

It seems the link doesn't work unless you have adblock disabled. Also, I see you're obfuscating the code (which is fine and entirely your choice), but it's actually possible to compile and distribute...
NiLSPACE Plugin Releases 15 2,090 04-19-2021, 08:29 AM
    Thread: Is Cuberite Multi-threaded? A short explanation.
Post: RE: Is Cuberite Multi-threaded? A short explanatio...

Yeah, for some reason the sleep function isn't acurate on Windows. I think it's not that important though as long as it's consistent.
NiLSPACE Discussion 4 2,338 04-15-2021, 08:54 PM
    Thread: How to loop all players? - my code is not working
Post: RE: How to loop all players? - my code is not work...

The reason it's not working is because all you're doing is declaring a variable named 'ForEachPlayerTick' and putting a function in it. To execute it you have to call 'cRoot:Get():ForEachPlayer(ForEac...
NiLSPACE Plugin Discussion 1 420 04-13-2021, 05:58 PM
    Thread: How to get block at coordinates?
Post: RE: How to get block at coordinates?

You can do it with this code: [shcode=lua] local blocktype = world:GetBlock(player:GetPosition():addedY(-1)); [/shcode]
NiLSPACE Development 3 503 04-12-2021, 09:07 PM
    Thread: Features and missing features
Post: RE: Features and missing features

I believe since a recent update TNT does drop everything. Explosions from other sources still don't drop everything though.
NiLSPACE Development 133 96,857 04-12-2021, 09:06 PM
    Thread: Few questions - v1.16.*
Post: RE: Few questions - v1.16.*

No clue, work has been going slowly as it's a huge change affecting almost the entire codebase.
NiLSPACE Plugin Discussion 3 502 03-31-2021, 01:47 AM
    Thread: Few questions - v1.16.*
Post: RE: Few questions - v1.16.*

Hi, welcome to the forum. 1. 1.13 changed allot, so we're still working to get that going. Once that is finally finished we can start working on the other protocols which should go allot quicker. ...
NiLSPACE Plugin Discussion 3 502 03-31-2021, 01:25 AM
    Thread: Chunk generator performance survey
Post: RE: Chunk generator performance survey

The 5600X and 5800X can easily be found at MSRP here in The Netherlands. The 5900X and 5950X on the other hand...
NiLSPACE Discussion 45 28,026 03-22-2021, 07:39 AM
    Thread: Chunk generator performance survey
Post: RE: Chunk generator performance survey

Upgraded my CPU to a 5800X. [spoiler=world.ini] Code: -- ; This is the per-world configuration file, managing settings such as generators, simulators, and spawn points [General] Dimension=O...
NiLSPACE Discussion 45 28,026 03-18-2021, 05:39 AM
    Thread: BlockState breaking the API
Post: RE: BlockState breaking the API

There might be a few problems though. As I understand it a blockstate represents what we currently use two variables for (blocktype and blockmeta/nibbletype). Methods that currently require those two ...
NiLSPACE Development 3 614 03-11-2021, 10:13 PM
    Thread: BlockState breaking the API
Post: RE: BlockState breaking the API

This might be a long shot, but can we replace all E_BLOCK_XYZ global variables to have a blockstate variable instead of the integer we have now? I'm not sure how we would handle nibbletypes with that ...
NiLSPACE Development 3 614 03-11-2021, 09:43 PM
    Thread: error
Post: RE: error

@tigerw do you think bastion could test if it's the same issue by setting Authenticate=0?
NiLSPACE Discussion 7 894 03-07-2021, 08:54 PM
    Thread: error
Post: RE: error

Could you show your settings.ini file? It looks like some plugins are active which normally aren't.
NiLSPACE Discussion 7 894 03-07-2021, 07:09 AM