Advanced tags for building plugins

Learn here how to create and use plugins.

Moderator: Plugin Moderators

cesareborgia94
Inhabitant of a Continent
Reactions:
Posts: 1252
Joined: Sun Nov 12, 2017 9:23
Location: The Kingdom of Babilandia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy 360H

Platform

Plugin Creator

Re: Advanced tags for building plugins

#81

Post by cesareborgia94 » Mon Apr 09, 2018 20:24

@Lobby, sorry for bothering you, but can you explain more on recent plugin tags such as "rebuild" and "icon frames" attribute introduced recently? Just needed explainations on how to use them...
I rarely make plugins now, but I still make them in spare time.
Disclaimer Please no request, I'm busy with real life stuff, I hope you understand ;)
You can find me here only. Discord is sh**, sorry JA :(

User avatar
CommanderABab
AB
Reactions:
Posts: 7710
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#82

Post by CommanderABab » Mon Apr 09, 2018 20:31

Code: Select all

"rebuild":true,
means the RCI building will rebuild instead of being replaced by another. Useful if your population drops suddenly, but you want the city to remain looking the same.

Code: Select all

"icon frames":[{"bmp":"file.png"}],
is probably 26x26 pixel icon to be used in the display box.
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2890
Joined: Tue Apr 18, 2017 9:03
Location: In a place you don't expect.
Plugins: Show
Version: Beta
Phone model: Have 3, all too long

Platform

Re: Advanced tags for building plugins

#83

Post by BetterBear » Tue Apr 10, 2018 0:11

CommanderABab wrote:
Mon Apr 09, 2018 20:31

Code: Select all

"rebuild":true,
means the RCI building will rebuild instead of being replaced by another. Useful if your population drops suddenly, but you want the city to remain looking the same.

Code: Select all

"icon frames":[{"bmp":"file.png"}],
is probably 26x26 pixel icon to be used in the display box.
Is there an option to set a building in rebuild mode in the game?
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

User avatar
CommanderABab
AB
Reactions:
Posts: 7710
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#84

Post by CommanderABab » Tue Apr 10, 2018 1:22

No, ...
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Lobby
Developer
Reactions:
Posts: 3346
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#85

Post by Lobby » Tue Apr 10, 2018 8:01

Exactly @CommanderABab :bc

Rebuild mode is on my default for all buildings. To prevent rebuilding manually you can make them untouchable.
...Have a nice stay

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1906
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Plugin Creator

Re: Advanced tags for building plugins

#86

Post by KINGTUT10101 » Mon Apr 23, 2018 20:57

Would it be possible for me to make a road that can only be placed in water @Lobby ?

User avatar
CommanderABab
AB
Reactions:
Posts: 7710
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#87

Post by CommanderABab » Mon Apr 23, 2018 21:07

Roads can't be placed on water only bridges.
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 791
Joined: Sun May 28, 2017 0:07
Location: In the blogosphere
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#88

Post by FranchuFranchu » Wed May 02, 2018 3:03

You should update the first post to make it a list of all tags
@Lobby
Do you know you can't blink while smiling :) ?

User avatar
Lobby
Developer
Reactions:
Posts: 3346
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#89

Post by Lobby » Wed May 02, 2018 12:08

It is a list :bq
...Have a nice stay

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 791
Joined: Sun May 28, 2017 0:07
Location: In the blogosphere
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#90

Post by FranchuFranchu » Thu May 03, 2018 0:22

I mean, to add the new tags like "population", "droppable" and others.
Do you know you can't blink while smiling :) ?

PrathamK
Settler
Reactions:
Posts: 6
Joined: Tue Mar 06, 2018 14:29
Plugins: Show
Phone model: Xiaomi Redmi Note 4

Re: Advanced tags for building plugins

#91

Post by PrathamK » Sun May 20, 2018 10:45

The Influence key words List is Whole repeated from "influence pollution".

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 791
Joined: Sun May 28, 2017 0:07
Location: In the blogosphere
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced tags for building plugins

#92

Post by FranchuFranchu » Sun May 20, 2018 17:22

Fixed :bc
Do you know you can't blink while smiling :) ?

PrathamK
Settler
Reactions:
Posts: 6
Joined: Tue Mar 06, 2018 14:29
Plugins: Show
Phone model: Xiaomi Redmi Note 4

Re: Advanced tags for building plugins

#93

Post by PrathamK » Tue May 22, 2018 10:46

:json How to add Monthly Income?
:bd Diamonds as price instead of Theos?
:bb Negative Values of monthly Price don't work.

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2621
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Advanced tags for building plugins

#94

Post by JustAnyone » Tue May 22, 2018 13:05

You cant add income because it could be used as a way to cheat.

cesareborgia94
Inhabitant of a Continent
Reactions:
Posts: 1252
Joined: Sun Nov 12, 2017 9:23
Location: The Kingdom of Babilandia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy 360H

Platform

Plugin Creator

Re: Advanced tags for building plugins

#95

Post by cesareborgia94 » Tue May 22, 2018 15:38

Then what if you want to add income to a building for instance? Maybe set game mechanics to only recognize plugins with monthly income to less than 100TT so that people would not cheat.
I rarely make plugins now, but I still make them in spare time.
Disclaimer Please no request, I'm busy with real life stuff, I hope you understand ;)
You can find me here only. Discord is sh**, sorry JA :(

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2621
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Advanced tags for building plugins

#96

Post by JustAnyone » Tue May 22, 2018 16:22

If you would want to have monthly income, you should contact Lobby.

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

Re: Advanced tags for building plugins

#97

Post by sairam » Sun Jun 24, 2018 7:20

Please make a list of categories in theotown
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

User avatar
Lobby
Developer
Reactions:
Posts: 3346
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Advanced tags for building plugins

#98

Post by Lobby » Sun Jun 24, 2018 23:37

Here you go:

Code: Select all

$cat_terrain00
  $cat_asphalt00

$cat_transport00
  $cat_road00
  $cat_roaddeco00
  $cat_bus00
  $cat_train00
  $cat_airport00
    
$cat_zone00
  $cat_residential00
  $cat_commercial00
  $cat_industrial00
    
$cat_supply00
  $cat_energy00
  $cat_water00
  $cat_wastedisposal00

$cat_public00
  $cat_park00
  $cat_sport00
  $cat_public00
  $cat_management00
  $cat_award00
  $cat_religion00
  $cat_decoration00
  $category_christmas00
  $category_firework00

$cat_service00
  $cat_firebrigade00
  $cat_education00
  $cat_medic00
  $cat_police00
  $cat_military00

$cat_landmark00

$cat_disaster00
...Have a nice stay

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

Re: Advanced tags for building plugins

#99

Post by sairam » Wed Jun 27, 2018 17:32

How can i use

Code: Select all

"ordinal":
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

Re: Advanced tags for building plugins

#100

Post by sairam » Wed Jun 27, 2018 17:34

Can i get the list of types of buildings and influence ? Because i'm new to the world of plugins.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest