Advanced tags for building plugins
Moderator: Plugin Moderators
Re: Advanced tags for building plugins
Welcome to the world of plugins!
Types are listed in the first post of this thread under type. For influences see here.
Types are listed in the first post of this thread under type. For influences see here.
=^._.^= ∫
- FranchuFranchu
- Inhabitant of a Country
- Reactions:
- Posts: 798
- Joined: Sun May 28, 2017 0:07
- Location: Freezing in Argentina
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
use
Code: Select all
"ordinal":0,
Did you know you can't blink while smiling :) ?
- Baby Racoon
- Settler
- Reactions:
- Posts: 1
- Joined: Tue Apr 24, 2018 15:29
- Plugins: Show
Re: Advanced tags for building plugins
I am Sorry But... I don't understand what does "h","w","x"or"y" mean.
I know it's Height,Width,etc
But it is needed to count pixels in width or height?
Example:
34 pixels in Height
And 30 pixels in width so the values are
"h":34,
"w":30
Is this right??
Please help me
Also in handle x and y
Give me some illustration.. Please for the sake of my Future:/
*I DO NOT FORCE YOU TO THIS*
Thanks!
I know it's Height,Width,etc
But it is needed to count pixels in width or height?
Example:
34 pixels in Height
And 30 pixels in width so the values are
"h":34,
"w":30
Is this right??
Please help me

Also in handle x and y
Give me some illustration.. Please for the sake of my Future:/
*I DO NOT FORCE YOU TO THIS*
Thanks!
Geometry Dash Player
Plugin Maker
FILIPINO!

Plugin Maker
FILIPINO!

- CommanderABab
- AB
- Reactions:
- Posts: 9112
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
Baby Racoon wrote: ↑Sat Dec 29, 2018 16:04I am Sorry But... I don't understand what does "h","w","x"or"y" mean.
I know it's Height,Width,etc
But it is needed to count pixels in width or height?
No
Example:
34 pixels in Height
And 30 pixels in width so the values are
"h":34,
"w":30
Is this right?? Yes, but the "w" should be a multiple of 32 for most simple frame statements.
Please help me
Also in handle x and y x tracks to w, y tracks to h.
Using 4, a positive handle y would move where the image is drawn down 4 pixels, positive x would move it right 4 pixels.
Give me some illustration.. Please for the sake of my Future:/
*I DO NOT FORCE YOU TO THIS*
Thanks!

- FranchuFranchu
- Inhabitant of a Country
- Reactions:
- Posts: 798
- Joined: Sun May 28, 2017 0:07
- Location: Freezing in Argentina
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
If you want to use the part of the image inside the black square:
Code: Select all
"bmp":"example.png",
"w":130,
"h":86,
"x":114,
"y":164
- Attachments
-
- example.png (1.55 KiB) Viewed 3294 times
Did you know you can't blink while smiling :) ?
- CommanderABab
- AB
- Reactions:
- Posts: 9112
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
Hello! I want to ask about how to get “monthly income” and “unlock requirements” feature into the plugin.
Madbro the Madman 
From ideas
To artworks
Then JSON
And Plugin
And finally.. bugs. 

From ideas





Re: Advanced tags for building plugins
Check "Privileged Plugins" section to get some info about monthly income.
I'm not lazy, I'm motivated to do nothing!
...
...
- CommanderABab
- AB
- Reactions:
- Posts: 9112
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: Sun Dec 31, 2017 13:35
- Location: India Pudukkottai
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
Yes!
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.

Re: Advanced tags for building plugins
For income you can just use
Right now you can't produce more income than that to prevent cheating. You may ask for it after you have a plugin that could make use of it.
Please elaborate what you mean by "unlock requirements” feature.

Code: Select all
"monthly price":-1
Please elaborate what you mean by "unlock requirements” feature.
=^._.^= ∫
Re: Advanced tags for building plugins
There’s buildings that requires level, population or a specific building to unlock, here I want to ask how to do this in pluginLobby wrote: ↑Sun Jan 27, 2019 18:36For income you can just use
Right now you can't produce more income than that to prevent cheating. You may ask for it after you have a plugin that could make use of it.Code: Select all
"monthly price":-1
Please elaborate what you mean by "unlock requirements” feature.

Madbro the Madman 
From ideas
To artworks
Then JSON
And Plugin
And finally.. bugs. 

From ideas





Re: Advanced tags for building plugins
See here and here.
There's a simplified syntax that looks like:
There's a simplified syntax that looks like:
Code: Select all
"requirements":[
{
"type":"RANK", // Requires a specific city rank
"lvl":2
},
{
"type":"BUILDING", // Requires a specific building
"id":"$theidofarequiredbuilding"
},
{
"type":"HABITANT_COUNT", // Requires a population of at least 1000
"count":1000
}
]
=^._.^= ∫
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4263
- Joined: Thu Sep 14, 2017 17:30
- Location: Astrellia, UHAE
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
How can I make a building need to be placed on both water and land as the small pump building ? It’s for my nuclear plugin package for the pump .
Emperor of Atlantean federated empire

Founder state of Internationxal council
Leader of AEOY and steel pact

Founder state of Internationxal council
Leader of AEOY and steel pact
- CommanderABab
- AB
- Reactions:
- Posts: 9112
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
From the small pump code:
Code: Select all
...,
"needs water":true,
"needs land":true,
...

- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4263
- Joined: Thu Sep 14, 2017 17:30
- Location: Astrellia, UHAE
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
Can the random frame be used for a vehicle and if it can , how can I make it work ?
I would be interested for that so vehicles color variations spawn randomly .
I would be interested for that so vehicles color variations spawn randomly .
Emperor of Atlantean federated empire

Founder state of Internationxal council
Leader of AEOY and steel pact

Founder state of Internationxal council
Leader of AEOY and steel pact
Online
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3029
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
- Brody Craft
- Inhabitant of a Infinity
- Reactions:
- Posts: 8035
- Joined: Tue Jan 24, 2017 11:15
- Location: SE Asia
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
TheoTown feels like coding on roblox now.
When you get to be called a Board Index because you are too good.>:3
- Imran M
- Inhabitant of a Megalopolis
- Reactions:
- Posts: 714
- Joined: Wed Oct 24, 2018 13:41
- Plugins: Show
Re: Advanced tags for building plugins
Yep, especially the lua. I dipped a toe into lua because of a cousin. We didn't even get past print since it took too long!
I have no clue what's happening this year