• Welcome
Top images in our screenshot gallery:
Become a Beta-Tester
Most recent version is

TheoTown is a city simulation game for Android, iOS and PC. Give it a try...

We have an awesome discord server at discord.gg/theotown. Let's chat together!

• Lua Sandbox
Here you can play around with Lua code. See the Lua API or chatbox for information about what you can do using Lua in TheoTown. For general interest in making plugins, have a look into our getting started guide.

Code: Select all    Reset

local n = 10
local sieve = {}
local primes = Array()

for i = 2, n do
if not sieve[i] then
primes:add(i)
end
for j = i * i, n, i do
sieve[j] = true
end
end

Debug.toast('Hello world! There are '..#primes..' primes in 2 to '..n)
primes:forEach(function(p) Debug.toast(p) end)

Interactive Lua editor

• News

#### Plugin Store Activity in April 2022

Hello everyone, it's time for some Plugin Store statistics!

New Plugins
In total 63 new plugins have been submitted in April 2022. Most of them were contributed by:
1. Naufhal
12 plugins

3 plugins

2 plugins

Top Creators
An incomplete list of our most diligent plugin creators:
By downloads
By published plugins

Top Plugins

1. Tesla Factory
by CERRERA
Downloads: 318,252
Rating: 84% by 1399 ratings
Published: 2021-01-22
Last update: 2021-12-12

2. Diagonal road
by Kartofun
Downloads: 653,533
Rating: 69% by 3587 ratings
Published: 2018-12-15
Last update: 2018-12-15

3. One World Trade Center
by Kevin hung
Downloads: 641,254
Rating: 77% by 2536 ratings
Published: 2018-12-17
Last update: 2018-12-17

4. Big hospital
by anhkatori2
Downloads: 143,039
Rating: 84% by 586 ratings
Published: 2021-07-29
Last update: 2022-04-02

5. Piccadilly Circus
by MONTEMARINO
Downloads: 532,810
Rating: 80% by 1910 ratings
Published: 2019-01-20
Last update: 2020-03-19

6. Waste To Energy Plant
by anhkatori2
Downloads: 127,972
Rating: 84% by 649 ratings
Published: 2021-07-14
Last update: 2022-03-09

7. Allianz Parque Stadium
by Carlão da massa
Downloads: 329,834
Rating: 87% by 897 ratings
Published: 2020-01-15
Last update: 2020-04-19

8. Ferris Wheel
by A dutch Guy
Downloads: 453,211
Rating: 82% by 1441 ratings
Published: 2019-02-13
Last update: 2020-03-02

9. Medical School
by anhkatori2
Downloads: 95,023
Rating: 82% by 382 ratings
Published: 2021-09-01
Last update: 2022-04-09

Views: 535  •  Comments: 0  •  Post a reply

• Recent
•  Recent announcements Recent popular topics Recent topics

• Newest Plugins

#### Indomaret Building Pack

Indomaret Are Company From Indonesia. So I Made This Plugin. But This Plugin Inspired To Real life Building.

35%
indomaret.png (2.63 KiB) Viewed 83 times

Views: 178  •  Comments: 9  •  Write comments

#### Mother Patroness Monument

The Famous Monument (Award) In Cheboksary. Russia.

It Does Not Including Influence Because The JSON App Are Contain Ads. So I Creating Plugin In Plugin Creator Website By @JustAnyone.

Credit @Lobby (Lobby Divinus) And Theo (theotheoderich Or TheoTown) For Tree.

But I Don't Upload This Plugin To Plugin Store Because It Still Development. Thank You!

motherpattronessmonument.png (6.55 KiB) Viewed 110 times
Download File

Views: 110  •  Comments: 1  •  Write comments

• Latest news
Replies
Views
Last post

• Who is online?
• In total there are 90 users online :: 5 registered, 0 hidden and 85 guests (based on users active over the past 5 minutes)
Most users ever online was 1548 on 11 Aug 2021, 18:45

•  Menu

•  Top Posters

•  Statistics
• Totals
Total posts 155470
Total topics 11881
Total Announcements: 21
Total Stickies: 50
Total Attachments: 27930

Topics per day: 2
Posts per day: 30
Users per day: 38
Topics per user: 0
Posts per user: 1
Posts per topic: 13

Total members 200049
Our newest member Emma2421

•  Friends
• Online
No friends online

Offline
No friends offline