WordBank: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(Add links section)
(Add a lot more detail)
 
Line 1: Line 1:
'''WordBank''' is a plugin introduced by [[Devoted]]. It allows using secret keys to generate unique, unreproducible names for items.
'''WordBank''' is a plugin introduced by [[Devoted]]. It allows using secret keys to generate unique, unreproducible names for items. Some [[Civ]] servers like [[CivClassic]] replace the plugin with a [[FactoryMod]] recipe, while others like [[Civ+]] use the plugin as-is.

== Mechanics ==

In order to set the secret key, a player can rename an item in an anvil. Then, when the player left clicks an enchantment table with that item, it will consume 10 ExP bottles and use the name as an input to a function that outputs the stylized name. For example, an item named ''Potatos'' would be renamed to ''Skating''. The name will also gain a pseudorandom color, in this case Light Green.

== Internals ==

WordBank has a list of words that must be supplied by the admins of the server. A commonly used choice is the top words used in a given subreddit. In order to select these words, WordBank uses a complicated cryptographic hash function that outputs one or two words, and the color the item should be. Notably, this function is flawed and if the input item is given a name with 16 of the same character, for example ''aaaaaaaaaaaaaaaa'', it will output two of the same word, for example ''Bait Bait''.


== Links ==
== Links ==
Line 6: Line 14:
* [https://www.reddit.com/r/Devoted/comments/4e1niq/wordbank_is_live_branding_and_more_at_your/ Reddit announcement introducing the plugin]
* [https://www.reddit.com/r/Devoted/comments/4e1niq/wordbank_is_live_branding_and_more_at_your/ Reddit announcement introducing the plugin]


[[Category:Stub]]
[[Category:Mechanics and Plugins]]

Latest revision as of 16:57, 6 May 2024

WordBank is a plugin introduced by Devoted. It allows using secret keys to generate unique, unreproducible names for items. Some Civ servers like CivClassic replace the plugin with a FactoryMod recipe, while others like Civ+ use the plugin as-is.

Mechanics

In order to set the secret key, a player can rename an item in an anvil. Then, when the player left clicks an enchantment table with that item, it will consume 10 ExP bottles and use the name as an input to a function that outputs the stylized name. For example, an item named Potatos would be renamed to Skating. The name will also gain a pseudorandom color, in this case Light Green.

Internals

WordBank has a list of words that must be supplied by the admins of the server. A commonly used choice is the top words used in a given subreddit. In order to select these words, WordBank uses a complicated cryptographic hash function that outputs one or two words, and the color the item should be. Notably, this function is flawed and if the input item is given a name with 16 of the same character, for example aaaaaaaaaaaaaaaa, it will output two of the same word, for example Bait Bait.

Links