summaryrefslogtreecommitdiff
path: root/minetest.conf.example
Commit message (Expand)AuthorAge
...
* MeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock c...Perttu Ahola2017-04-17
* Hard-coded undersampling.number Zero2017-04-09
* Settings: Update documentation (#5534)SmallJoker2017-04-07
* Add Joystick type detection and Xbox controller supportrubenwardy2017-04-06
* Mapgen documentation: Add descriptions to noise parametersparamat2017-04-05
* Cavegen/Mgv5/Mgv7: Add optional giant cavernsparamat2017-04-03
* Map generation limit: Make per-worldparamat2017-03-27
* Change command prefix to "." and add "help" command.red-0012017-03-26
* Add mesh generation delaynumber Zero2017-03-26
* [CSM] Add enable_client_modding param (default: false)nerzhul2017-03-13
* Enable server side occlusion culling by default.Lars Hofhansl2017-03-11
* Allow server side occlusion culling.Lars Hofhansl2017-03-11
* Climb speed: Increase default setting from 2 to 3paramat2017-03-11
* Change default nodetimer_interval to 0.2s. (#5193)Auke Kok2017-02-09
* Add console height setting (#5136)Ezhh2017-01-30
* Zoom FOV: Reduce minimum zoom FOV to 7 degreesparamat2017-01-23
* Add show_statusline_on_connect setting (#5084)Loïc Blot2017-01-21
* Documentation: Correct biome heat / humidity noise parametersparamat2017-01-15
* Enable mod security by defaultShadowNinja2017-01-13
* Fix display gamma documentationThomas--S2017-01-02
* Redo light.cpp.Auke Kok2016-12-28
* Process ABMs in a spherical volume instead of cubicLars Hofhansl2016-12-24
* Disable mod security by default (closes #4944)sfan52016-12-21
* Mapgen: Make mgv7 the default in UIAuke Kok2016-12-16
* Cavegen: Wider tunnels in mgflat, mgfractal, mgvalleysparamat2016-12-14
* Update minetest.conf.example and settings_translation_file.cppest312016-12-14
* Mgv7: Change default cave width to 0.09sfan52016-12-13
* View range: Set maximum to 4000 nodesRogier2016-12-12
* Fog: Make fraction of visible distance at which fog starts configurableLars Hofhansl2016-12-07
* Mgv7: Add optional floatlands, disabled by defaultparamat2016-11-15
* Conf.example: Document block_send_optimize_distanceLars Hofhansl2016-11-08
* Changes to static object storage limit and error messageparamat2016-10-20
* Enable mod security by defaultShadowNinja2016-10-16
* Add missing languages to the settingsSmallJoker2016-10-11
* Chat: new settings to prevent spamLoic Blot2016-10-05
* Conf.example: Re-add deleted noise parameter documentationparamat2016-09-23
* Increase default font size by 1James Stevenson2016-09-21
* Document keymap_autorun in settingtypes.txt and minetest.conf.example (#4486)Rui2016-08-30
* Update minetest.conf.example and settings_translation_file.cppest312016-08-30
* Client: disable pre v25 init sending by defaultest312016-08-22
* Document zoom_fov in settingtypes.txt and minetest.conf.exampleBen Deutsch2016-08-10
* Update minetest.conf.example and the settings translation fileest312016-07-24
* Update minetest.conf.example, and settings_translation_file.cppest312016-07-12
* Remove cinematic toggle on F8rubenwardy2016-07-05
* Mgflat/fractal/v7/valleys: Denser 3D noise tunnelsparamat2016-06-24
* Documentation: Remove incorrect and excessive mapgen flags textparamat2016-05-16
* Update settings translation file and minetest.conf.exampleest312016-05-05
* Mapgen: Make 3D noise tunnels' width settableparamat2016-04-28
* Builtin: Add basic_privs settingrubenwardy2016-04-28
* Add option to disable entity selectionboxes. (#3992)TriBlade92016-04-14
lass="hl kwc">virtual bool isPeaceful(){return true;} virtual std::string getDescription(){return "SAO";} /* Step object in time. Messages added to messages are sent to client over network. send_recommended: True at around 5-10 times a second, same for all objects. This is used to let objects send most of the data at the same time so that the data can be combined in a single packet. */ virtual void step(float dtime, bool send_recommended){} /* The return value of this is passed to the client-side object when it is created */ virtual std::string getClientInitializationData(){return "";} /* The return value of this is passed to the server-side object when it is created (converted from static to active - actually the data is the static form) */ virtual std::string getStaticData() { assert(isStaticAllowed()); return ""; } /* Return false in here to never save and instead remove object on unload. getStaticData() will not be called in that case. */ virtual bool isStaticAllowed() const {return true;} // Returns tool wear virtual int punch(v3f dir, const ToolCapabilities *toolcap=NULL, ServerActiveObject *puncher=NULL, float time_from_last_punch=1000000) { return 0; } virtual void rightClick(ServerActiveObject *clicker) {} virtual void setHP(s16 hp) {} virtual s16 getHP() { return 0; } // Inventory and wielded item virtual Inventory* getInventory() { return NULL; } virtual const Inventory* getInventory() const { return NULL; } virtual InventoryLocation getInventoryLocation() const { return InventoryLocation(); } virtual void setInventoryModified() {} virtual std::string getWieldList() const { return ""; } virtual int getWieldIndex() const { return 0; } virtual ItemStack getWieldedItem() const; virtual bool setWieldedItem(const ItemStack &item); /* Number of players which know about this object. Object won't be deleted until this is 0 to keep the id preserved for the right object. */ u16 m_known_by_count; /* - Whether this object is to be removed when nobody knows about it anymore. - Removal is delayed to preserve the id for the time during which it could be confused to some other object by some client. - This is set to true by the step() method when the object wants to be deleted. - This can be set to true by anything else too. */ bool m_removed; /* This is set to true when an object should be removed from the active object list but couldn't be removed because the id has to be reserved for some client. The environment checks this periodically. If this is true and also m_known_by_count is true, object is deleted from the active object list. */ bool m_pending_deactivation; /* Whether the object's static data has been stored to a block */ bool m_static_exists; /* The block from which the object was loaded from, and in which a copy of the static data resides. */ v3s16 m_static_block; /* Queue of messages to be sent to the client */ Queue<ActiveObjectMessage> m_messages_out; protected: // Used for creating objects based on type typedef ServerActiveObject* (*Factory) (ServerEnvironment *env, v3f pos, const std::string &data); static void registerType(u16 type, Factory f); ServerEnvironment *m_env; v3f m_base_position; private: // Used for creating objects based on type static core::map<u16, Factory> m_types; }; #endif