Jump to content
  • Sign Up

Archived

This topic is now archived and is closed to further replies.

  • 1
ItzSgtTanker

Modding help.

Question

Hello! so i am wanting to make a survival mod for classicube and i was wondering if plugins work as mods. Thank you!

Best Regards,

ItzSgtTanker

 

Share this post


Link to post

14 answers to this question

Recommended Posts

Maybe you could use some code or details from the old ClassicalSharp client located in the ClassiCube source code.

Beacuse when you edit the options.txt file to have "survivalmode=true",then when you open the ClassicalSharp launcher and launch singleplayer you would get a incomplete remake of Survival Test.

This might be useful for survival development.

Share this post


Link to post
17 minutes ago, sussussus said:

Maybe you could use some code or details from the old ClassicalSharp client located in the ClassiCube source code.

Beacuse when you edit the options.txt file to have "survivalmode=true",then when you open the ClassicalSharp launcher and launch singleplayer you would get a incomplete remake of Survival Test.

This might be useful for survival development.

C isn't C#!!!! It won't work in the modern ClassiCube codebase.

Share this post


Link to post
17 hours ago, icanttellyou said:

C isn't C#!!!! It won't work in the modern ClassiCube codebase.

Yes i know that,i didnt mean to import or copy the code from it but maybe get the basics of how something similar could be rewriten in C.

Still thanks for correcting me over there.

Share this post


Link to post

Okay, i think i worded my question badly. are plugins for server sided mods only? and if not, can you make singleplayer components with plugins?

Share this post


Link to post
On 1/8/2022 at 12:34 AM, ItzSgtTanker said:

are plugins for server sided mods only?

 

These plugins are server-side plugins.

On 1/8/2022 at 12:34 AM, ItzSgtTanker said:

and if not, can you make singleplayer components with plugins?

I don't think so, you could atleast try your best.

Share this post


Link to post
3 hours ago, Gekale said:

These plugins are server-side plugins.

I don't think so, you could atleast try your best.

Thanks for your response! I was wondering whether or not plugins were sort of like a modding api. I guess i will have to implement it directly in the game's source code.

Share this post


Link to post
1 hour ago, ItzSgtTanker said:

Thanks for your response! I was wondering whether or not plugins were sort of like a modding api. I guess i will have to implement it directly in the game's source code.

There a is a API available for plugins, although it's quite limited https://github.com/UnknownShadow200/ClassiCube/blob/master/doc/plugin-dev.md

An example of adding something that only works in singleplayer only: copy e.g. https://github.com/ClassiCube/ClassiCube-Plugins/blob/master/SchematicExporter/SchematicExporter.c and change the false to COMMAND_FLAG_SINGLEPLAYER_ONLY

Share this post


Link to post
1 hour ago, UnknownShadow200 said:

There a is a API available for plugins, although it's quite limited https://github.com/UnknownShadow200/ClassiCube/blob/master/doc/plugin-dev.md

An example of adding something that only works in singleplayer only: copy e.g. https://github.com/ClassiCube/ClassiCube-Plugins/blob/master/SchematicExporter/SchematicExporter.c and change the false to COMMAND_FLAG_SINGLEPLAYER_ONLY

Hey, thanks for the answer! this is exactly what i needed to see. I was wondering if there was a way to make a mod, without having to compile a custom version of classicube. I was wondering whether or not i could use my mod on any classicube installation(assuming it is the right version) once it is completed.

Share this post


Link to post

×
×
  • Create New...