LASTCS NETWORK®

The game never ends

[GM] Decor — Creating New Year's decorations on the CS 1.6 server [ReAPI]

[GM] Decor — Creating New Year's decorations on the CS 1.6 server [ReAPI]

dext3r.

BIO.LASTCS.RO
Administrator
Joined
Dec 9, 2025
Messages
117
Reaction score
7
Location
#biohazard
Community rank
#2

[GM] Decor v1.1.0 – CS 1.6 Plugin​

Author: Noob_with_cheats
Requirements: ReAPI
Compatibility: AMXX 1.9.0 / AMXX 1.10.0-dev

[GM] Decor is a plugin for Counter-Strike 1.6 servers that allows you to place various objects and decorations (models) anywhere on the server's maps.

The plugin was originally designed for Christmas decorations, such as Christmas trees, presents, snowmen, and other festive objects.

Opening the Menu​

The menu can be accessed using the following commands:

  • <span>say /decor</span>
  • <span>say_team /decor</span>
  • <span>decor_menu</span>
By default, access to the menu requires the l flag (ADMIN_RCON). The original author used ADMIN_MAP, but this was changed to ADMIN_RCON so that only the Chief Admin can modify decorations on the server.

If you prefer a different access level, you can modify lines 130–132 in the source code and recompile the plugin using the AMXX compiler.

Features​

The plugin allows you to:

  • Place objects anywhere on the map.
  • Move objects to different locations.
  • Rotate and adjust object angles.
  • Delete individual objects.
  • Remove all objects from the map.
  • Enable or disable object solidity (allowing players to climb on objects).
  • Save object positions in JSON files.
To place an object, open the menu, aim your crosshair at the desired location, and select Create.

After positioning and rotating the object, always use #5 – Save to save your changes.

Warning: The option to remove all objects deletes both the objects from the map and the JSON file containing their spawn coordinates.

Included Models​

The archive contains 25 decorative models:

  • 10 Snowmen.
  • 8 Christmas Trees.
  • 5 Presents.
  • 1 Candy Cane.
  • 1 Sleigh.
The plugin also includes a preconfigured spawn file for the <span>de_dust2</span> map.

Requirements​

  • ReAPI module.
  • AMX Mod X 1.9.0 or AMXX 1.10.0-dev.

Installation​

1. Extract the plugin archive.

2. The plugin already includes the required models and configuration files.

The preconfigured spawn file for <span>de_dust2</span> is located at:

<span>addons/amxmodx/configs/plugins/gm_plugins/decor/spawns/de_dust2.json</span>

The model configuration file is located at:

<span>addons/amxmodx/configs/plugins/gm_plugins/decor/models.json</span>

You can disable any models you don't want to use or add your own custom models.

Important: Model names in the configuration must be unique. Be careful when editing JSON files: the last entry in an object must not have a trailing comma.

3. Upload the entire contents of the archive's <span>cstrike</span> folder to your server's <span>cstrike</span> directory using FTP.

The plugin is already compiled for AMXX 1.9.0 and ReAPI v24. The archive also includes the source code.

4. Update your FASTDL so players can download all decorative models quickly.

5. Add the following line to <span>addons/amxmodx/configs/plugins.ini</span>:

<span>gm_decor.amxx</span>

6. Change the map and check the plugin using:

<span>amxx plugins</span>

The plugin should appear with the status <span>running</span>.

Model Configuration​

The <span>models.json</span> file contains all available models and their corresponding paths.

Example:

<span>{<br> "Snowman Animated": "models/drmx_newyear/snowman_anim.mdl",<br> "Snowman": "models/drmx_newyear/snowman.mdl",<br> "Snowman 2": "models/drmx_newyear/snowman2.mdl",<br> "Tree": "models/drmx_newyear/xmas_tree.mdl",<br> "Tree 2": "models/drmx_newyear/xmas_tree2.mdl",<br> "Present": "models/drmx_newyear/present.mdl",<br> "Candy Cane": "models/drmx_newyear/candy_cane.mdl",<br> "Sleigh": "models/drmx_newyear/sleigh.mdl"<br>}</span>

Additional Notes​

The objects are purely decorative and do not have any built-in functionality.

Solidity can be enabled individually for each object, allowing players to climb on it. If solidity is disabled, players can walk straight through the object.

The plugin is multilingual and supports both Russian and English.

Happy New Year, everyone!


You do not have permission to view link Log in or register now.


Hidden link
Log in or register to unlock this link.
 
Back
Top