Jump to content

0xF

Creator
  • Posts

    821
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by 0xF

  1. 0xF

    Sortify

    Do you mean a backpack?
  2. 0xF

    Player List

    Hello, thanks for letting me know, I fixed it in version 1.4.9
  3. 0xF

    Player List

    Changed Status from Pending to Closed Changed Fixed In to 1.4.9
  4. 0xF

    Assets missing after FP update

    Changed Status from Pending to Not a Bug
  5. 0xF

    Getting kicked from server

    Changed Status from Work in Progress to Fixed Changed Fixed In to 1.1.12
  6. 0xF

    Getting kicked from server

    Changed Status from Pending to Work in Progress
    The developer created a high-quality prefab for my plugin, stayed in constant contact, and finished the work fairly quickly. A big plus is that he speaks Russian. I highly recommend him.
      • 1
      • Love
  7. 0xF

    Admin Menu

    No DLL installation is required; the plugin has been updated to the June update and is working
  8. 0xF

    admin menu

    Hello, in accordance with the return policy, we cannot issue a refund once you have downloaded the file, as digital products can be copied and used without the original being returned.
  9. 0xF

    ServerPrefabs

    Version 1.1.0

    82 downloads

    Need a robust foundation for creating custom Rust entities and prefabs from your own plugins? ServerPrefabs is a powerful library plugin for Oxide/uMod and Carbon that lets plugin developers register custom server-side prefabs and entities, with support for custom networking, persistent save/load, built-in inventories, and runtime scaling. What Is ServerPrefabs? ServerPrefabs is not a standalone gameplay plugin — it’s a developer library. It does nothing on its own. Instead, other plugins use its API to define, register, and manage their own custom prefabs and entities on the server. If you’re building advanced Rust systems with custom deployables, persistent world objects, or specialized networked entities, ServerPrefabs provides the core framework you need. Core Features Custom Server-Side Prefab Registration: Create and register fully custom prefabs directly from your plugin. Once registered, they become usable and spawnable by the game. Custom Entity Component Support: Attach your own BaseEntity-derived component to a prefab and define custom entity logic exactly how your plugin needs it. Persistent Save / Load System: Custom entity save data is written to: oxide/data/ServerPrefabs/<prefab>.sav Custom Network Serialization: Provide your own network save behavior so clients receive the exact entity state they need. Arbitrary Per-Entity Data Storage: Implement stream-based save/load methods for custom entity state and plugin-specific data. Built-In Inventory Component: Use EntityInventory for a built-in, network-replicated item container with configurable capacity and optional handler callbacks. Runtime Scaling Support: Use Scaler to persist and replicate transform scale for custom entities. Lightweight Stub Entities: Use StubEntity for lightweight, non-saving entities with RPC and save event hooks, plus a helper factory for cloning visuals and bounds from a base prefab. Per-Entity Behavior Flags: Opt into special behaviors such as disabling disk saving or excluding entities from spawn command lists via CustomFlags. Public API The main entry point is: ServerPrefabs.For(plugin) This returns a per-plugin context you can use to create and register prefabs. Example usage: var prefab = ServerPrefabs.For(this) .CreatePrefab("my_thing") .AddEntityComponent<MyEntity>(clientPrefabId) .Register(); This workflow allows a consumer plugin to: Create a custom prefab Attach a custom BaseEntity component Register it with the game Make it available for spawning and runtime use Bundles Use CreateBundle() to group multiple prefabs so they are registered and loaded together as one save batch. This is ideal when one custom entity references, depends on, or is parented to an entity from another prefab. Registers all prefabs first Preloads all save files in one batch Spawns all bundled entities in a single pass You can also add an existing prefab with bundle.Add(prefab). If one prefab fails to register or load, the rest of the bundle will still continue. var bundle = ServerPrefabs.For(this).CreateBundle(); bundle.CreatePrefab("station").AddEntityComponent<StationEntity>(stationClientId); bundle.CreatePrefab("module").AddEntityComponent<ModuleEntity>(moduleClientId); bundle.Register(); Extension Interfaces ICustomPrefab Calls OnCustomPrefabRegistered() once the prefab is registered. ICustomEntity Calls OnCustomEntityRegistered() when the custom entity is registered. ICustomEntity.SaveForNetwork Lets you customize the network proto sent to clients. ICustomEntity.SaveData Adds Save(Stream) and Load(Stream) support for arbitrary per-entity data. Entity Flags Optional behaviors are controlled through the EntityFlags CustomFlags property on ICustomEntity. By default, the value is EntityFlags.None, so you only override it when special behavior is needed. The property is named CustomFlags specifically to avoid colliding with BaseEntity.Flags. Example: class MyEntity : BaseEntity, ServerPrefabs.ICustomEntity { public void OnCustomEntityRegistered() { } public ServerPrefabs.EntityFlags CustomFlags => ServerPrefabs.EntityFlags.DisableSaving | ServerPrefabs.EntityFlags.NoSpawnCommand; } Available flags: EntityFlags.None No special behavior. EntityFlags.DisableSaving Excludes the entity from disk saving by setting enableSaving = false. EntityFlags.NoSpawnCommand Prevents the entity from being added to the spawnable-entity command list. Included Components EntityInventory A built-in, network-replicated item container. Set Capacity and optionally assign an EntityInventory.IHandler with callbacks such as: OnCreated OnInventoryDirty OnItemAddedOrRemoved ItemFilter Scaler Persists and replicates entity transform scale. StubEntity A lightweight, non-saving entity with onRpcMessage and onSave events, plus a StubEntity.Create<T>(...) factory for cloning visuals and bounds from a base prefab. Installation Drop ServerPrefabs.cs into: oxide/plugins/ or carbon/plugins/ The server will compile and load it automatically. On first load, a config file is generated. Dependent plugins can reference it via: [PluginReference] Plugin ServerPrefabs; or the static API Configuration Configuration file: oxide/config/ServerPrefabs.json Allow outdated saves Default: false Allows loading .sav files written by a different Rust save protocol version. Enable debug logging Default: false Enables verbose [ServerPrefabs] [DEBUG] log output for troubleshooting. Safe Config Recovery: If the config becomes invalid or unreadable, it is automatically backed up as ServerPrefabs.json.bak. A new default config is then generated, so a broken manual edit won’t silently destroy your settings. Compatibility Notes ServerPrefabs uses Harmony IL transpilers against Rust internals, specifically: SaveRestore.Load SaveRestore.WriteEntities Because these patches rely on specific internal instruction patterns, a Rust update can break compatibility. After a force wipe or game update, check the server console during load for errors like: Phase 1 failed! Phase 2 failed! Phase 3 failed! or other patch-related errors If those appear, the plugin likely needs to be updated to match the current Rust version. Why Use ServerPrefabs? Create advanced custom entities directly from your plugin Add server-side prefabs with persistent save/load support Customize network behavior for non-standard entities Use built-in inventory and scaling systems instead of building your own Control save and spawn-list behavior with simple entity flags Perfect for framework plugins, deployables, machines, automation systems, and persistent world objects ServerPrefabs is a core utility library for Rust plugin developers who want deeper control over custom entities and prefab-based systems. One library. Custom prefabs. Persistent entities. A powerful base for advanced Rust modding.
    Free
  10. 0xF

    Level up gun

    You can view Codefling's return policy here
  11. 0xF

    Level up gun

    Hello, this plugin does not include a progression system on its own. It allows you to create custom weapons—for example, 20 weapons of different levels. Once you’ve created the weapons you need, you’ll need to use a plugin that replaces one item with another, such as Crafting or any other method you prefer to implement progression on your server. The progression method is up to you. By the way, I’ll be releasing a similar plugin soon, so stay tuned.
  12. 0xF

    Admin Menu

    I haven't noticed any issues since the update. Could you please create a support ticket and attach the error log or a video to it?
  13. 0xF

    Scroll needed

    Which version are you using? I definitely fixed the scrolling issue, and I just checked it—the scrolling is still working. Could you send me a video showing the error?
  14. 0xF

    Admin Map

    Restart the server with verifing the game files, it will help.
  15. Changed Status from Pending to Closed
  16. 0xF

    Give Items with white image

    Please tell me the short name of the item
  17. 0xF

    Unable to scroll

    Changed Status from Pending to Fixed Changed Fixed In to 1.4.7
  18. 0xF

    Give Items with white image

    Changed Status from Pending to Not a Bug
  19. 0xF

    Give Items with white image

    Some items do not have an icon provided by the developers; these items are displayed with a white icon, which is normal.
  20. 0xF

    Failed to initialize

    Changed Status from Pending to Not a Bug
  21. 0xF

    not working.

    By default, the UI is available to all players with the `adminmap.allow` permission, and the `/amap` command (not `/map`) is mostly used to disable the UI. Please grant yourself the necessary permission, reconnect to the server, and check the map.
  22. Just restart the server with verifing the game files, it will help
  23. 0xF

    Failed to initialize

    Just restart the server with verifing the game files, it will help
  24. 0xF

    MultiTool

    These are two separate items with their own short names: multitool and multi.planner It’s up to you to decide exactly how to present them to the player

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.4k
Customers served
Files Sold
163.3k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.