Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

CustomNPC+ 1.7

Changelog

CustomNPC+ 1.7

The next version of CNPC+ is finally out! It features a bunch of fixes, improvements and quality-of-life changes!

CNPC+ Changes

Flying Improvements

Finally! I am happy to announce that FLYING has BEEN EXTREMELY improved! The AI is not only intelligent but resource efficient! So do not be afraid to SPAM flying NPCs! As always, if you find bugs please report them!

Saving PlayerData (please backup, just in case)

Improvements have been MADE to Saving (and will not result in the crazy compression fiasco we had). It has reduced the amount of PlayerData calls and pushed them to a separate Thread to reduce SERVER LAG and improve PERFORMANCE for Large PlayerData files! Thanks to @EverNife

CNPC+ Logging

I have decided to implement a clean logging system for servers to use! There are 2 Formats for Logging! (must be enabled in config)

ALL LOGS are printed to the CustomNPCs Log files. And if on a SERVER, WILL ONLY print to SERVER CUSTOMNPCs LOG FILEs

Examples ----

  • Player Logging
[21:51:50][CNPC][SCRIPTER] Kam OPEN NPC Asher (-46, 39, -1103) [World]
[21:51:50][CNPC][SCRIPTER] Kam SAVED NPC Asher (-46, 39, -1103) [World]
[21:59:20][CNPC][WAND] Kam OPEN NPC Asher (-46.5, 39.0, -1103.5) [World]
[21:59:21][CNPC][WAND] Kam CLOSE NPC Asher (-46, 39, -1103) [World]
  • Script Logging
[TICK] NPC Bob (World) (-8301, 90, -7848)
[INTERACT] NPC Joe (World) (-8301, 90, -5423) | Objects: [EntityPlayer, Kam]
[DAMAGED] NPC Bill (DIM-1) (-1304, 90, 3021) | Objects: [EntityPlayer, Kam]

Fixes

Fixed ForgeGradle not downloading in build.gradle Fixed Height off the Ground for Flying Fixed Unused Wing Textures not in selector Fix ScriptingEnabled not actually disabling scripts Fixed Null Tile Entities Crash Various Crashes

API

There is NOW an official CNPC+ API This API can be hooked onto by other mods and plugins that you all wish to develop! We will continue to update this API and add even more diverse functionality to it than the original!

https://github.com/KAMKEEL/CustomNPC-Plus-API

API Fixes

All functions that take double values for positions now have functions that take IPos objects as well. IBlock, IPos, IEntity, and IWorld now have readalbe toString functions. NpcAPI: Added getAllInBox(IPos,IPos) function, returns all IPos objects inside the box created by the two positions. Added getPlayer() function Added getChunkLoadingNPCs function Added getCurrentPlayerCount, getMaxPlayers, kickAllPlayers, isHardcore, getFile(path), and getServerOwner functions added IPos: Added crossProduct(IPos), divide(scalar), and to/FromLong functions. IBlock: Added setPosition functions Spawner, Transport, Healer, Guard, Bard jobs and transporter role received more functions. IAnimal, IEntityLiving, and IEntityLivingBase received more functions from their MC counterparts.

Files

CustomNPC-Plus-1.7.jar(12.19 MiB) Primary Download
CustomNPC-Plus-1.7+nomixin.jar(11.26 MiB) Download

Project members

KAMKEEL

Owner

PopsicleNate

Artist

c0508383

Developer

Goodbird

Developer


Technical information

License
Client side
required
Server side
required
Project ID